diff --git a/app/views/devise/registrations/edit.html.erb b/app/views/devise/registrations/edit.html.erb index 63cef43..71f1e7b 100644 --- a/app/views/devise/registrations/edit.html.erb +++ b/app/views/devise/registrations/edit.html.erb @@ -37,7 +37,7 @@ <%= _('Organisation') %> <%= collection_select(:user, :org_id, @orgs, - :id, :name, {include_blank: constant("organisation_types.organisation")}, + :id, :name, {include_blank: _('Select Organisation')}, { class: "typeahead org_sign_up" }) %> "> diff --git a/app/views/plans/_dropdowns_new_plan.html.erb b/app/views/plans/_dropdowns_new_plan.html.erb index 544d874..1fb8708 100644 --- a/app/views/plans/_dropdowns_new_plan.html.erb +++ b/app/views/plans/_dropdowns_new_plan.html.erb @@ -21,7 +21,7 @@ :collection => @funders, :label => _('If applying for funding, select your research funder.'), :input_html => { :multiple => false, :class => ["select2", "select2-container"] }, - :include_blank => constant("organisation_types.funder") %> + :include_blank => _('Select Funder') %>
diff --git a/app/views/plans/_plan_details.html.erb b/app/views/plans/_plan_details.html.erb index b3f6d2e..955b4b5 100644 --- a/app/views/plans/_plan_details.html.erb +++ b/app/views/plans/_plan_details.html.erb @@ -200,7 +200,7 @@ <%if @plan_data["template"]["org"]["name"].present? %> - <%= constant("organisation_types.funder") %> + <%= _('Funder') %> <%= @plan_data["template"]["org"]["name"] %> <%end%> diff --git a/app/views/projects/_dropdowns_new_project.html.erb b/app/views/projects/_dropdowns_new_project.html.erb index 87add23..f9a91ce 100644 --- a/app/views/projects/_dropdowns_new_project.html.erb +++ b/app/views/projects/_dropdowns_new_project.html.erb @@ -11,7 +11,7 @@