<%= _('Please fill in the basic project details below') %>
<%= f.label :title, _('Plan name') %>
- <%= f.text_field :title, class: "left-indent input-large has-tooltip", 'data-toggle': "tooltip",
+ <%= f.text_field :title, class: "input-large has-tooltip", 'data-toggle': "tooltip",
'title': _('If applying for funding, state the name exactly as in the grant proposal.') %>
<%= f.label :identifier, _('ID') %>
- <%= f.text_field :identifier, class: 'left-indent input-medium has-tooltip', 'data-toggle': "tooltip",
+ <%= f.text_field :identifier, class: 'input-medium has-tooltip', 'data-toggle': "tooltip",
'title': _('A pertinent ID as determined by the funder and/or institution.') %>
<%= f.label :grant_number, _('Grant number') %>
- <%= f.text_field :grant_number, class: 'left-indent input-medium has-tooltip',
+ <%= f.text_field :grant_number, class: 'input-medium has-tooltip',
'data-toggle': "tooltip",
'title': _('Grant reference number if applicable [POST-AWARD DMPs ONLY]') %>
<%= f.label :principal_investigator, _('Principal Investigator/Researcher') %>
- <%= f.text_field :principal_investigator, class: 'left-indent input-medium has-tooltip',
+ <%= f.text_field :principal_investigator, class: 'input-medium has-tooltip',
'data-toggle': "tooltip",
'title': _('Name of Principal Investigator(s) or main researcher(s) on the project.') %>
<%= f.label :principal_investigator_identifier, _('Principal Investigator/Researcher ID') %>
- <%= f.text_field :principal_investigator_identifier, class: 'left-indent input-medium has-tooltip',
+ <%= f.text_field :principal_investigator_identifier, class: 'input-medium has-tooltip',
'data-toggle': "tooltip", 'title': _('E.g ORCID http://orcid.org/.') %>
<%= f.label :data_contact, _('Plan data contact') %>
- <%= f.text_field :data_contact, class: 'left-indent input-medium has-tooltip',
+ <%= f.text_field :data_contact, class: 'input-medium has-tooltip',
'data-toggle': "tooltip",
'title': _('Name (if different to above), telephone and email contact details') %>
<%= f.label :description, _('Description') %>
- <%= f.text_area :description, { rows: 7, class: 'left-indent input-large has-tooltip',
+ <%= f.text_area :description, { rows: 7, class: 'input-large has-tooltip',
'data-toggle': "tooltip", 'data-html': "true",
'title': _("
")} %>
diff --git a/app/views/plans/new.html.erb b/app/views/plans/new.html.erb
index ea291b9..a40b41b 100644
--- a/app/views/plans/new.html.erb
+++ b/app/views/plans/new.html.erb
@@ -7,25 +7,25 @@
<%= _("Before you get started, we need to ask a few questions to set you up with the best DMP template for your needs.") %>
- <%= form_for @plan, method: :post, remote: true do |f| %>
+ <%= form_for @plan, html: {method: :post, class: "roadmap-form"}, remote: true do |f| %>
-
+
<%= _('What research project are you planning?') %>
<%= _('Project title') %>
-
+
<%= _('If applying for funding, state the title exactly as in the proposal.') %>
-
+
<%= _('Primary research organisation') %>
@@ -38,7 +38,7 @@
default_selection: @default_org,
models: @orgs,
attribute: 'name',
- classes: 'input-large'} %>
+ classes: 'fixed-width-large'} %>
@@ -50,7 +50,7 @@
-
+
<%= _('Funding organisation') %>
@@ -63,7 +63,7 @@
default_selection: nil,
models: @funders,
attribute: 'name',
- classes: 'input-large'} %>
+ classes: 'fixed-width-large'} %>
@@ -72,7 +72,7 @@
-
+
diff --git a/app/views/plans/share.html.erb b/app/views/plans/share.html.erb
index 3dd23ad..42f6988 100644
--- a/app/views/plans/share.html.erb
+++ b/app/views/plans/share.html.erb
@@ -58,31 +58,21 @@
<% new_role = Role.new %>
<% new_role.plan = @plan %>
<%= form_for new_role, url: {controller: :roles, action: :create },
- html: {method: :post, class: 'side-by-side'} do |f| %>
-
-
- <%= _('Add collaborator') %>
+ html: {method: :post, class: 'roadmap-form'} do |f| %>
+
+ <%= _('Add collaborator') %>
- <%= f.hidden_field :plan_id %>
-
-
- <%= f.fields_for :user do |user| %>
- <%= user.label :email, _('Email') %>
- <%= user.email_field :email, for: :user, name: "user", class: "left-indent" %>
- <% end %>
-
-
- <%= f.label :access_level, _('Permissions') %>
- <%= f.select :access_level, [[_('Co-owner'), 3], [ _('Editor') , 2], [ _('Read only'), 1]], {}, {class: 'has-tooltip left-indent', 'data-toggle': "tooltip", 'title': _('Editors can contribute to plans. Co-owners have additional rights to edit plan details and control access.') } %>
-
-
-
-
-
-
+ <%= f.hidden_field :plan_id %>
+
+ <%= f.fields_for :user do |user| %>
+ <%= user.label :email, _('Email') %>
+ <%= user.email_field :email, for: :user, name: "user", class: "left-indent" %>
+ <% end %>
+
+ <%= f.label :access_level, _('Permissions') %>
+ <%= f.select :access_level, [[_('Co-owner'), 3], [ _('Editor') , 2], [ _('Read only'), 1]], {}, {class: 'has-tooltip left-indent', 'data-toggle': "tooltip", 'title': _('Editors can contribute to plans. Co-owners have additional rights to edit plan details and control access.') } %>
+
+
<% end %>