mirror of
https://github.com/beatriceo/polyglot.git
synced 2025-10-25 18:52:11 +00:00
made login/sign up page responsive
This commit is contained in:
@@ -11,11 +11,19 @@
|
||||
<%= f.input :password,
|
||||
required: false,
|
||||
input_html: { autocomplete: "current-password" } %>
|
||||
<%= f.input :remember_me, as: :boolean if devise_mapping.rememberable? %>
|
||||
<div class="flex-inline space-between">
|
||||
<%= f.label :remember_me %>
|
||||
<label class="switch">
|
||||
<%= f.input_field :enable_transcript, as: :boolean if devise_mapping.rememberable? %>
|
||||
<span class="slider rounded"></span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<%#= f.input :remember_me, as: :boolean if devise_mapping.rememberable? %>
|
||||
</div>
|
||||
|
||||
<div class="form-actions">
|
||||
<%= f.button :submit, "Log in", class: "login btn btn-primary" %>
|
||||
<%= f.button :submit, "Log in", class: "login btn btn-primary vertical-margin" %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
<% end -%>
|
||||
|
||||
<%- if devise_mapping.registerable? && controller_name != 'registrations' %>
|
||||
<%#= link_to "Sign up", new_registration_path(resource_name) %><!-- <br /> -->
|
||||
<%= link_to "Sign up", new_registration_path(resource_name) %><!-- <br /> -->
|
||||
<% end -%>
|
||||
|
||||
<%- if devise_mapping.recoverable? && controller_name != 'passwords' && controller_name != 'registrations' %>
|
||||
<%= link_to "Forgot your password?", new_password_path(resource_name) %><br />
|
||||
<%#= link_to "Forgot your password?", new_password_path(resource_name) %><br />
|
||||
<% end -%>
|
||||
|
||||
<%- if devise_mapping.confirmable? && controller_name != 'confirmations' %>
|
||||
|
||||
Reference in New Issue
Block a user