diff --git a/app/views/plans/_edit_details.html.erb b/app/views/plans/_edit_details.html.erb index 7d08037..f82f145 100644 --- a/app/views/plans/_edit_details.html.erb +++ b/app/views/plans/_edit_details.html.erb @@ -3,17 +3,17 @@ <%= form_for plan, html: {method: :put, class: 'form-horizontal edit_plan' } do |f| %>
- <%= f.label(:title, _('Project Title'), class: 'control-label') %> + <%= f.label(:title, _('Project title'), class: 'control-label') %>
<%= f.text_field(:title, class: "form-control", "aria-required": true, 'data-toggle': 'tooltip', title: _('If applying for funding, state the name exactly as in the grant proposal.')) %> -
-
<%= f.hidden_field :visibility %> <%= f.label(:is_test, raw("#{check_box_tag(:is_test,1, @plan.is_test?)} #{_('mock project for testing, practice, or educational purposes')}"), class: 'control-label') %>
+ +
<%= f.label(:funder_name, _('Funder'), class: 'control-label') %> @@ -27,7 +27,7 @@
- <%= f.label(:grant_number, _('Grant Number'), class: 'control-label') %> + <%= f.label(:grant_number, _('Grant number'), class: 'control-label') %>
<%= f.text_field(:grant_number, class: "form-control", "aria-required": false, 'data-toggle': 'tooltip', @@ -36,7 +36,7 @@
- <%= f.label(:description, _('Project Abstract'), class: 'control-label') %> + <%= f.label(:description, _('Project abstract'), class: 'control-label') %>
"> <%= f.text_area( @@ -55,7 +55,7 @@
-

<%= _('Principal Investigator') %>

+

<%= _('Principal investigator') %>

<%= f.label(:principal_investigator, _('Name'), class: 'control-label') %> @@ -102,7 +102,7 @@
-

<%= _('Data Contact Person') %>

+

<%= _('Data contact person') %>

<% checked = ((@plan.data_contact.present? || @plan.data_contact_phone.present? || @plan.data_contact_email.present?) ? 1 : 0) %> <%= label_tag(:show_data_contact, raw("#{check_box_tag(:show_data_contact, checked, checked == 0)} #{_('Same as Principal Investigator')}"), class: 'control-label') %>