app/views/web/members/_form.html.haml
= simple_form_for @member, :validate => true, :url => members_path, :html => {:class => "form-horizontal well"} do |f|
= f.error_notification
- with_options :scope => "members" do |member_t|
.row
.span5
%fieldset
%legend= member_t.t('contact_info')
= f.input :first_name
= f.input :last_name
= f.input :phone, :hint => member_t.t('phone_hint')
= f.input :city
= f.input :birthday, :as => :date_picker
= f.input :email
= f.input :password
= f.input :password_confirmation
.span6
%fieldset
%legend= member_t.t('education')
= f.input :institute
= f.input :study_start do
= f.input_field :start_month, :collection => Member::STUDY_MONTH, :include_blank => t('datetime.prompts.month'),
:style => 'width: 155px'
= f.input_field :start_year, :placeholder => t('datetime.prompts.year'), :class => 'span1'
= f.input :study_finish do
= f.input_field :finish_month, :collection => Member::STUDY_MONTH, :include_blank => t('datetime.prompts.month'),
:style => 'width: 155px'
= f.input_field :finish_year, :placeholder => t('datetime.prompts.year'), :class => 'span1'
= f.input :department
= f.input :profession
= f.input :group
= f.input :schoolyear_count, :collection => Member::SCHOOLYEARS
= f.input :degree
= f.input :gpa
%fieldset
%legend= member_t.t 'camp'
= f.input :camp_time, :label => false, :inline_label => member_t.t('camp_time')
= f.input :camp_life, :label => false, :inline_label => member_t.t('camp_life')
= f.input :camp_notebook, :label => false, :inline_label => member_t.t('camp_notebook')
= f.input :camp_training, :label => false, :inline_label => member_t.t('camp_training')
%fieldset
%legend= member_t.t 'how_hear_about_as'
= f.input :how_hear_about_as, :label => false, :collection => Member::HOW_HEAR_ABOUT_AS_LIST
= f.input :other_how_hear_about_as
%fieldset
%legend
= f.input :terms_of_service,
:as => :boolean,
:label => false,
:inline_label => t('.terms_of_service'),
:input_html => {:checked => true}
.form-actions
= f.button :submit, :class => 'btn btn-primary'
= link_to t('.already_have_account'), new_session_path