diff --git a/app/views/devise/confirmations/new.html.erb b/app/views/devise/confirmations/new.html.erb index b1517851106720608dddb8c6d6834e4d8168df8a..e0413b71336486fe6995d1d72964d5d76ac90902 100644 --- a/app/views/devise/confirmations/new.html.erb +++ b/app/views/devise/confirmations/new.html.erb @@ -14,7 +14,6 @@ <div class="col-md-6"> <label class="form-label"> </label><br> <%= f.button :submit, t(".resend_confirmation_instructions"), class: 'btn btn-primary' %> - <%= render "devise/shared/links" %> </div> </div> <% end %> diff --git a/app/views/devise/passwords/edit.html.erb b/app/views/devise/passwords/edit.html.erb index 8ccf236eeb2345673f96e6b4068f1148370a32b5..6dfd0d076bbec8d6357628283feb8d13f7ab75d6 100644 --- a/app/views/devise/passwords/edit.html.erb +++ b/app/views/devise/passwords/edit.html.erb @@ -23,7 +23,6 @@ }, input_html: { autocomplete: "new-password" } %> <%= f.button :submit, t(".change_my_password"), class: 'btn btn-primary' %> - <%= render "devise/shared/links" %> </div> <div class="col-md-6"> <%= f.input :password_confirmation, diff --git a/app/views/devise/passwords/new.html.erb b/app/views/devise/passwords/new.html.erb index 2cd101ea25b66e15c8dff2359073834ada83e3ae..6a26084622965182e80d70984d75e9f2f531888b 100644 --- a/app/views/devise/passwords/new.html.erb +++ b/app/views/devise/passwords/new.html.erb @@ -9,7 +9,6 @@ required: true, autofocus: true, input_html: { autocomplete: "email" } %> - <%= render "devise/shared/links" %> </div> <div class="col-md-6"> <label class="form-label"> </label><br> diff --git a/app/views/devise/registrations/new.html.erb b/app/views/devise/registrations/new.html.erb index e79437ebfcb2438819a985f285ebb928c186f21f..5aa32d8310649bf868e4a149b5eefc191a1979c8 100644 --- a/app/views/devise/registrations/new.html.erb +++ b/app/views/devise/registrations/new.html.erb @@ -49,5 +49,3 @@ </div> <%= f.button :submit, t(".sign_up"), class: 'btn btn-primary' %> <% end %> - -<%= render "devise/shared/links" %> diff --git a/app/views/devise/shared/_links.html.erb b/app/views/devise/shared/_links.html.erb deleted file mode 100644 index 4b75161780177a14080d94b33302a212fbbe7a3f..0000000000000000000000000000000000000000 --- a/app/views/devise/shared/_links.html.erb +++ /dev/null @@ -1,5 +0,0 @@ -<div class="mt-3"> - <%- if controller_name != 'sessions' %> - <%= link_to t(".sign_in"), new_session_path(resource_name) %><br /> - <% end %> -</div> diff --git a/app/views/devise/unlocks/new.html.erb b/app/views/devise/unlocks/new.html.erb index e5086ff9421df6b32dba624a286429f0cc878c70..75388e5567465268245d7e92411b5564b943bca2 100644 --- a/app/views/devise/unlocks/new.html.erb +++ b/app/views/devise/unlocks/new.html.erb @@ -13,7 +13,6 @@ <div class="col-md-6"> <label class="form-label"> </label><br> <%= f.button :submit, t(".resend_unlock_instructions"), class: 'btn btn-primary' %> - <%= render "devise/shared/links" %> </div> </div> <% end %> diff --git a/app/views/layouts/devise.html.erb b/app/views/layouts/devise.html.erb index 4680876320b28a49e7e7132b51e66a00393d6901..f41e67ebfb02d55b5bf01960ff390291688efd61 100644 --- a/app/views/layouts/devise.html.erb +++ b/app/views/layouts/devise.html.erb @@ -14,7 +14,9 @@ <div class="container"> <div class="row"> <div class="col-sm-10 mx-auto"> - <h1 class="my-5 py-5 text-center"><%= current_university %></h1> + <h1 class="my-5 py-5 text-center"> + <%= link_to current_university, root_path %> + </h1> <div class="card"> <div class="card-body text-start"> <% unless notice.blank? %>