-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
26 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,5 @@ | ||
<div class="!max-w-lg my-container animate-in"> | ||
<h2 class="text-4xl font-extrabold text-black mb-6">Sign up</h2> | ||
<%= form_for(resource, as: resource_name, url: registration_path(resource_name), html: { class: "bg-white p-8 border-2 border-black shadow-md" }) do |f| %> | ||
<%= render "devise/shared/error_messages", resource: resource %> | ||
<div class="field mb-4"> | ||
<%= f.label :email, class: "block text-lg font-bold text-black" %> | ||
<%= f.email_field :email, autofocus: true, autocomplete: "email", class: "mt-1 block w-full p-2 border-2 border-black" %> | ||
</div> | ||
<div class="field mb-4"> | ||
<%= f.label :password, class: "block text-lg font-bold text-black" %> | ||
<% if @minimum_password_length %> | ||
<em class="text-gray-700">(<%= @minimum_password_length %> characters minimum)</em> | ||
<% end %> | ||
<%= f.password_field :password, autocomplete: "new-password", class: "mt-1 block w-full p-2 border-2 border-black" %> | ||
</div> | ||
<div class="field mb-4"> | ||
<%= f.label :password_confirmation, class: "block text-lg font-bold text-black" %> | ||
<%= f.password_field :password_confirmation, autocomplete: "new-password", class: "mt-1 block w-full p-2 border-2 border-black" %> | ||
</div> | ||
<div class="actions"> | ||
<%= f.submit "Sign up", class: "bg-black text-white px-4 py-2 border-2 border-black hover:bg-gray-800 transition duration-300" %> | ||
</div> | ||
<% end %> | ||
<br> | ||
<%= render "devise/shared/links" %> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,6 @@ | ||
<div class="!max-w-lg my-container animate-in"> | ||
<h2 class="text-4xl font-extrabold text-black mb-6">Log in</h2> | ||
<%= form_for(resource, as: resource_name, url: session_path(resource_name), html: { class: "bg-white p-8 border-2 border-black shadow-md" }) do |f| %> | ||
<div class="field mb-4"> | ||
<%= f.label :email, class: "block text-lg font-bold text-black" %> | ||
<%= f.email_field :email, autofocus: true, autocomplete: "email", class: "mt-1 block w-full p-2 border-2 border-black" %> | ||
</div> | ||
<div class="field mb-4"> | ||
<%= f.label :password, class: "block text-lg font-bold text-black" %> | ||
<%= f.password_field :password, autocomplete: "current-password", class: "mt-1 block w-full p-2 border-2 border-black" %> | ||
</div> | ||
<% if devise_mapping.rememberable? %> | ||
<div class="field mb-4"> | ||
<%= f.check_box :remember_me, class: "mr-2" %> | ||
<%= f.label :remember_me, class: "inline-block text-lg font-bold text-black" %> | ||
</div> | ||
<% end %> | ||
<div class="actions"> | ||
<%= f.submit "Log in", class: "bg-black text-white px-4 py-2 border-2 border-black hover:bg-gray-800 transition duration-300" %> | ||
</div> | ||
<% end %> | ||
|
||
<br> | ||
<%= render "devise/shared/links" %> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters