Sha256: d197d1034f865916c56bd94ec7dc5fc78c8986c8ae5e07cfeca454544e600da0

Contents?: true

Size: 1.24 KB

Versions: 9

Compression:

Stored size: 1.24 KB

Contents

= form_for @user do |f|
  = f.error_messages
  = field_set_tag t('kkt_shoppe.users.user_details') do
    .splitContainer
      %dl.half
        %dt= f.label :first_name, t('kkt_shoppe.users.first_name')
        %dd= f.text_field :first_name, :class => 'focus text'
      %dl.half
        %dt= f.label :last_name, t('kkt_shoppe.users.last_name')
        %dd= f.text_field :last_name, :class => 'text'
  = field_set_tag t("kkt_shoppe.users.login") do
    .splitContainer
      %dl.third
        %dt= f.label :email_address, t('kkt_shoppe.users.email')
        %dd= f.text_field :email_address, :class => 'text'
      %dl.third
        %dt= f.label :password, t('kkt_shoppe.users.password')
        %dd= f.password_field :password, :class => 'text'
      %dl.third
        %dt= f.label :password_confirmation, t('kkt_shoppe.users.password_confirmation')
        %dd= f.password_field :password_confirmation, :class => 'text'

  %p.submit
    - unless @user.new_record?
      %span.right= link_to t('kkt_shoppe.delete'), @user, :class => 'button purple', :method => :delete, :data => {:confirm => t('kkt_shoppe.users.delete_confirmation')}
    = f.submit  t('kkt_shoppe.submit'), :class => 'button green'
    = link_to t('kkt_shoppe.cancel'), :users, :class => 'button'

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
kkt_shoppe-2.0.2 app/views/kkt_shoppe/users/_form.html.haml
kkt_shoppe-2.0.1 app/views/kkt_shoppe/users/_form.html.haml
kkt_shoppe-2.0.0 app/views/kkt_shoppe/users/_form.html.haml
kkt_shoppe-1.3.0 app/views/kkt_shoppe/users/_form.html.haml
kkt_shoppe-1.2.1 app/views/kkt_shoppe/users/_form.html.haml
kkt_shoppe-1.2.0 app/views/kkt_shoppe/users/_form.html.haml
kkt_shoppe-1.1.2 app/views/kkt_shoppe/users/_form.html.haml
kkt_shoppe-1.1.1 app/views/kkt_shoppe/users/_form.html.haml
kkt_shoppe-1.1.0 app/views/kkt_shoppe/users/_form.html.haml