mirror of
https://github.com/we-promise/sure.git
synced 2026-04-22 05:24:11 +00:00
Clean up registration and session views (#279)
* Clean up registration and session views - There was some lingering devise logic that was hiding some text and links for sign-up and sign-in in the auth layout. - Added a `text-link` class since I feel this is a commonly used thing that is ideal to have an applied it to all links in these views. * Remove text-link class
This commit is contained in:
@@ -2,11 +2,6 @@
|
||||
header_title "Sign in to your account"
|
||||
%>
|
||||
|
||||
<div class="mt-0 text-center">
|
||||
<p class="text-sm text-gray-600">Don't have an account? <%= link_to "Create one", new_registration_path, class: 'font-medium text-candlelight-600 hover:text-candlelight-500' %></p>
|
||||
</div>
|
||||
|
||||
|
||||
<%= form_with url: session_path, html: {class: 'space-y-6'} do |form| %>
|
||||
<div class="relative border border-gray-100 bg-offwhite rounded-xl focus-within:bg-white focus-within:shadow focus-within:opacity-100">
|
||||
<%= form.label :email, "Email address", class: 'p-4 pb-0 block text-sm font-medium text-gray-700' %>
|
||||
@@ -24,5 +19,5 @@
|
||||
<% end %>
|
||||
|
||||
<div class="mt-6 text-center">
|
||||
<p class="text-sm text-gray-600">Forgot your password? <%= link_to "Reset it", new_password_reset_path, class: 'font-medium text-candlelight-600 hover:text-candlelight-500' %></p>
|
||||
<p class="text-sm text-gray-600">Forgot your password? <%= link_to "Reset it", new_password_reset_path, class: 'font-medium text-gray-600 hover:text-gray-400 transition' %></p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user