Skip to content

Instantly share code, notes, and snippets.

@biscuitvile
Created March 31, 2014 20:50
Show Gist options
  • Select an option

  • Save biscuitvile/9901933 to your computer and use it in GitHub Desktop.

Select an option

Save biscuitvile/9901933 to your computer and use it in GitHub Desktop.
Haml example with line breaking
%section
%article.admin.narrow
%header
%h1 Sign in
= form_tag sessions_path do
%fieldset
%dl
%dt= label_tag :email
%dd= text_field_tag :email, nil,
autocapitalze: 'off',
autocorrect: 'off',
autocomplete: 'off'
%dt= label_tag :password
%dd= password_field_tag :password
%fieldset.actions
= submit_tag "Sign in"
= link_to "register", :new_user
= link_to "forgot password?", [:new, :password_reset_request]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment