Commit de00280f345260d08c48cd50a0c1fd8639c7cac5
Committed by
Fabio Teixeira
1 parent
bccb7910
Exists in
master
and in
79 other branches
correcoes_aderencia: Adds intitutions create button in edit view.
Signed-off-by: Arthur Del Esposte <arthurmde@gmail.com>
Showing
1 changed file
with
4 additions
and
1 deletions
Show diff stats
views/person_editor_extras.html.erb
... | ... | @@ -19,6 +19,9 @@ |
19 | 19 | |
20 | 20 | <%= content_tag(:div, _("No institution found"), :id=>"institution_empty_ajax_message", :class=>"errorExplanation hide-field") %> |
21 | 21 | <%= link_to(_("Add new institution"), "#", :class=>'button with-text icon-add', :id => 'add_new_institution') %> |
22 | + <%= link_to(_("Create new institution"), "#", :id=>"create_institution_link", :class=>'button with-text icon-add') %> | |
23 | + <%= content_tag("ul", "",:class=>"institutions_added") %> | |
24 | + <%= content_tag(:div, "", :id=>"institution_dialog") %> | |
22 | 25 | |
23 | 26 | <%= hidden_field_tag("user[institution_ids][]", "", :class => 'user_institutions') %> |
24 | 27 | <%= hidden_field_tag("institution_selected", "") %> |
... | ... | @@ -36,4 +39,4 @@ |
36 | 39 | <%= hidden_field_tag("full_name_error", _("Should begin with a capital letter and no special characters")) %> |
37 | 40 | <%= hidden_field_tag("email_error", _("Email should have the following format: name@host.br")) %> |
38 | 41 | <%= hidden_field_tag("site_error", _("Site should have a valid format: http://name.hosts")) %> |
39 | -<div id="email_public_message"><%= _("If you work in a public agency use your government e-Mail") %> </div> | |
40 | 42 | \ No newline at end of file |
43 | +<div id="email_public_message"><%= _("If you work in a public agency use your government e-Mail") %> </div> | ... | ... |