Sha256: e7e6794ad3d54f9e07662f6f33d721144b46a214115e1e563024355b17b80128

Contents?: true

Size: 913 Bytes

Versions: 1

Compression:

Stored size: 913 Bytes

Contents

- content_for(:title, t('action', :scope => [:user, :create]))
- form_for @user, :html => { :autocomplete => 'on'}, :url => user_path do |f|
  .person-session-form
    .grid_2
      = f.label(:civility, "#{t(:civility, :count => 1)} <span class='required'>*<span>")
    .grid_4
      = f.radio_button :civility, 0
      %span M
      = f.radio_button :civility, 1
      %span Mme
      = f.radio_button :civility, 2
      %span Mlle
      = f.radio_button :civility, 3
      %span Société
    - [:lastname, :firstname, :email].each do |key|
      .grid_2
        = f.label key, "#{t(key)} <span class='required'>*<span>"
      .grid_4
        = f.text_field key
      .clear
    - unless Forgeos::CONFIG[:account]['password_generated']
      = password_fields(f)
    .grid_4.prefix_2
      = f.submit t('action', :scope => [:user, :create])
    .clear
%p.mandatory-field
  * #{t(:mandatory_field, :count => 2)}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
forgeos_commerce_front-1.9.0 app/views/users/_form_create.html.haml