diff --git a/app/views/devise/registrations/_external_identifier_shibboleth.html.erb b/app/views/devise/registrations/_external_identifier_shibboleth.html.erb index 1a33004..65ca8fb 100644 --- a/app/views/devise/registrations/_external_identifier_shibboleth.html.erb +++ b/app/views/devise/registrations/_external_identifier_shibboleth.html.erb @@ -16,7 +16,6 @@ <% title = _("Unlink your account from #{scheme.description}. You can link again at any time.") %> <%= link_to ''.html_safe, destroy_user_identifier_path(id), method: :delete, title: title, 'aria-label': title, - 'data-toggle': "modal", 'dialog-width': "450px", data: {confirm: _("Are you sure you want to unlink #{scheme.description} ID?")} %> <% end %> \ No newline at end of file diff --git a/app/views/devise/registrations/_personal_details.html.erb b/app/views/devise/registrations/_personal_details.html.erb index 692c43c..5ed5eb3 100644 --- a/app/views/devise/registrations/_personal_details.html.erb +++ b/app/views/devise/registrations/_personal_details.html.erb @@ -119,10 +119,3 @@ <% end %> - - -
diff --git a/app/views/devise/registrations/new.html.erb b/app/views/devise/registrations/new.html.erb index 0c689be..5976167 100644 --- a/app/views/devise/registrations/new.html.erb +++ b/app/views/devise/registrations/new.html.erb @@ -1,7 +1,7 @@
- <%= (_("%{application_name} doesn't recognise your institutional credentials - either you haven't created an account with us or you haven't linked these details to your existing account.
* If you do not have an account with %{application_name}, please complete the form below.
* If you have an account with %{application_name}, please Sign in so we can link your account to your institutional credentials.
Once you have created and/or linked your account, you'll be able to sign in with your institutional credentials directly.") % { :application_name => Rails.configuration.branding[:application][:name] }).html_safe %>
+ <%= (_("%{application_name} doesn't recognise your institutional credentials - either you haven't created an account with us or you haven't linked these details to your existing account.
* If you do not have an account with %{application_name}, please complete the form below.
* If you have an account with %{application_name}, please so we can link your account to your institutional credentials.
Once you have created and/or linked your account, you'll be able to sign in with your institutional credentials directly.") % { :application_name => Rails.configuration.branding[:application][:name] }).html_safe %>
| <%= _('Text') %> | -
-
- <%= text_area_tag("guidance-text", "", class: "tinymce") %>
-
-
-
-
-
-
- |
-
| <%= _('Should this guidance apply:') %> | -- - | -
| <%= _('Published') %> | -
-
- <%= f.check_box :published , as: :check_boxes %>
-
- |
-
| <%= _('Guidance group') %> | -
-
- <%= f.collection_select(:guidance_group_ids,
- GuidanceGroup.where(org_id: current_user.org_id).order("name ASC"),
- :id, :name, {prompt: false, include_blank: _('None')}, {multiple: false})%>
-
-
-
-
-
-
- |
-
- <%= _('Institution not in the list?') %> <%= _('Create an account with any email address')%> + <%= _('Institution not in the list?') %> +
+ <%= render partial: 'shared/signin' %> diff --git a/app/views/phases/edit.html.erb b/app/views/phases/edit.html.erb index 18c914c..cf89c4c 100644 --- a/app/views/phases/edit.html.erb +++ b/app/views/phases/edit.html.erb @@ -1,4 +1,3 @@ -<% javascript('views/answers/status.js') %> - -<%= _('You have altered answers but have not saved them:')%>
-<%= _('Would you like to save them now?')%>
-