Added TODO marker, fixed login form
This commit is contained in:
parent
78f806d564
commit
3c0756206a
3 changed files with 11 additions and 28 deletions
|
|
@ -48,6 +48,7 @@ $progress-bar-color: tint($primary-color, 80);
|
|||
//
|
||||
// @import 'motion-ui/motion-ui';
|
||||
|
||||
// TODO:
|
||||
// We include everything by default. To slim your CSS, remove components you don't use.
|
||||
|
||||
@include foundation-global-styles;
|
||||
|
|
|
|||
|
|
@ -1,26 +0,0 @@
|
|||
<h2>Log in</h2>
|
||||
|
||||
<%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
|
||||
<div class="field">
|
||||
<%= f.label :email %><br />
|
||||
<%= f.email_field :email, autofocus: true %>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<%= f.label :password %><br />
|
||||
<%= f.password_field :password, autocomplete: "off" %>
|
||||
</div>
|
||||
|
||||
<% if devise_mapping.rememberable? -%>
|
||||
<div class="field">
|
||||
<%= f.check_box :remember_me %>
|
||||
<%= f.label :remember_me %>
|
||||
</div>
|
||||
<% end -%>
|
||||
|
||||
<div class="actions">
|
||||
<%= f.submit "Log in" %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
<%= render "devise/shared/links" %>
|
||||
|
|
@ -1,6 +1,14 @@
|
|||
// Loginf orm
|
||||
|
||||
.row
|
||||
.small-6.columns
|
||||
h2 Login (Administrators only)
|
||||
div.panel.callout
|
||||
p
|
||||
' This site yet only uses user accounts for moderators to manage screenshots.
|
||||
' It is planned however to allow you to register and manager your own uploads
|
||||
' more easily. Please have a little patience - thanks.
|
||||
|
||||
h2 Login (Moderators only)
|
||||
= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
|
||||
.small-6.columns
|
||||
= f.label :email
|
||||
|
|
@ -18,6 +26,6 @@
|
|||
.small-6.columns
|
||||
= f.label :remember_me
|
||||
|
||||
= f.submit "Log in"
|
||||
= f.submit "Log in", class: 'button'
|
||||
|
||||
= render "devise/shared/links"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue