zaid/thyracker

View on GitHub
app/views/users/_user_form.html.haml

Summary

Maintainability
Test Coverage
= form_for(@user) do |f|
  = render 'shared/error_messages', object: @user
  .field
    =  f.label :first_name
    =  f.text_field :first_name
  .field
    =  f.label :last_name
    =  f.text_field :last_name
  .field
    =  f.label :email
    =  f.text_field :email
  .field
    =  f.label :password
    =  f.password_field :password
  .field
    =  f.label :password_confirmation
    =  f.password_field :password_confirmation
  .actions
    =  f.submit "Sign up"