<% javascript 'admin.js' %>
<div class="row">
<div class="col-md-12">
<h1><%= _('Guidance group') %></h1>
</div>
</div>
<div class="row">
<div class="col-md-12">
<%= form_for :guidance_group, url: {action: "admin_create"}, html: {class: 'roadmap-form bordered'} do |f| %>
<fieldset class="side-by-side">
<div class="form-input">
<%= f.label _('Name'), for: :name %>
<%= f.text_field :name, as: :string, class: "input-medium required" %>
<div class="inline">
<a href="#" data-toggle="popover" rel: "popover" data-html: "true" role="button"
data-content="<%= _('Add an appropriate name for your guidance group. This name will be used to tell the end user where the guidance has come from. It will be appended to text identifying the theme e.g. "[guidance group name]: guidance on data sharing" so we suggest you just use the institution or department name.') %>" aria-label="<%= _('More information: Guidance group names') %>">
<span class="fa fa-question-circle" aria-hidden="true"></span></a>
</div>
</div>
<div class="form-input">
<%= f.label _('Optional Subset'), for: :optional_subset %>
<%= f.check_box :optional_subset %> <%= _('e.g. School/ Department') %>
<div class="inline">
<a href="#" data-toggle="popover" rel: "popover" data-html: "true" role="button"
data-content="<%= _("If the guidance is only meant for a subset of users e.g. those in a specific college or institute, check this box. Users will be able to select to display this subset guidance when answering questions in the 'create plan' wizard.") %>" aria-label="<%= _('More information: Optional subsets for guidance groups') %>">
<span class="fa fa-question-circle" aria-hidden="true"></span></a>
</div>
</div>
<!-- submit buttons -->
<br />
<div class="form-input">
<div class="button-spacer"> </div>
<%= f.submit _('Save'), name: "draft", class: "btn btn-primary", role:"button"%>
</div>
</fieldset>
<% end %>
</div>
</div>