diff --git a/views/person_editor_extras.html.erb b/views/person_editor_extras.html.erb index 3b319b4..8b0f87b 100644 --- a/views/person_editor_extras.html.erb +++ b/views/person_editor_extras.html.erb @@ -19,6 +19,9 @@ <%= content_tag(:div, _("No institution found"), :id=>"institution_empty_ajax_message", :class=>"errorExplanation hide-field") %> <%= link_to(_("Add new institution"), "#", :class=>'button with-text icon-add', :id => 'add_new_institution') %> + <%= link_to(_("Create new institution"), "#", :id=>"create_institution_link", :class=>'button with-text icon-add') %> + <%= content_tag("ul", "",:class=>"institutions_added") %> + <%= content_tag(:div, "", :id=>"institution_dialog") %> <%= hidden_field_tag("user[institution_ids][]", "", :class => 'user_institutions') %> <%= hidden_field_tag("institution_selected", "") %> @@ -36,4 +39,4 @@ <%= hidden_field_tag("full_name_error", _("Should begin with a capital letter and no special characters")) %> <%= hidden_field_tag("email_error", _("Email should have the following format: name@host.br")) %> <%= hidden_field_tag("site_error", _("Site should have a valid format: http://name.hosts")) %> -