@@ -10,11 +11,11 @@
<%= form_for(guidance, url: options[:url], html: { method: options[:method] , id: 'new_edit_guidance'}) do |f| %>
<%= f.label :text, class: 'control-label' %>
- <%= text_area_tag("guidance-text", guidance.text, class: "tinymce form-control", 'aria-required': true, rows: 10) %>
+ <%= text_area_tag("guidance-text", guidance.text, class: "form-control", 'aria-required': true, rows: 10) %>
- <%= render partial: 'org_admin/shared/theme_selector',
- locals: { f: f, all_themes: themes,
- popover_message: _('Select one or more themes that are relevant to this guidance. This will display your generic organisation-level guidance, as well as that from other sources e.g. the %{org_name} guidance or any Schools/Departments that you provide guidance for.') % { org_name: (current_user.org.abbreviation.present? ? current_user.org.abbreviation : current_user.org.name ) } } %>
+ <%= render partial: 'org_admin/shared/theme_selector',
+ locals: { f: f, all_themes: themes, as_radio: true, required: true,
+ popover_message: _('Select one theme that is relevant to this guidance. This will display your generic organisation-level guidance, or any Schools/Departments for which you create guidance groups, across all templates that have questions with the corresponding theme tags.') } %>
<%= f.label _('Guidance group'), for: :guidance_group_id, class: 'control-label' %>
<%= f.collection_select(:guidance_group_id, guidance_groups,
@@ -25,7 +26,7 @@
<%= f.submit _('Save'), name: "edit_guidance_submit", class: "btn btn-primary" %>
- <%= link_to _('Cancel'), admin_index_guidance_path, class: "btn btn-primary", role: 'button' %>
+ <%= link_to _('Cancel'), admin_index_guidance_path, class: "btn btn-primary", role: 'button' %>
<%end%>
diff --git a/app/views/branded/home/_welcome.html.erb b/app/views/branded/home/_welcome.html.erb
index aeec3d2..948ff8a 100644
--- a/app/views/branded/home/_welcome.html.erb
+++ b/app/views/branded/home/_welcome.html.erb
@@ -1,3 +1,4 @@
+<% title d_('dmpopidor', 'Welcome!') %>