Skip to content

Instantly share code, notes, and snippets.

@yamaaki
Created August 11, 2015 08:12
Show Gist options
  • Save yamaaki/a81b380adbc2ee9a54c8 to your computer and use it in GitHub Desktop.
Save yamaaki/a81b380adbc2ee9a54c8 to your computer and use it in GitHub Desktop.
#admins-sessions-new
.row
.col.s12.m9
.section
#p-title.col.s12.scrollspy
h2.p-title Sign in
= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
.input-field.col.s12.l9
i.material-icons.prefix email
= f.email_field :email, class: 'validate'
= f.label :email
.input-field.col.s12.l9
i.material-icons.prefix lock_open
= f.password_field :password, autocomplete: 'off', class: 'validate'
= f.label :password
.col.s12
.section
= button_tag class: 'btn waves-effect waves-light' do
i.material-icons.left.p-slim send
span Sign in
.col.hide-on-small-only.m3
ul.section.table-of-contents.p-right-nav
li = link_to 'Sign in', '#p-title'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment