%= @form.error_messages %>
<%= @form.label :nick %> | <%= @form.text_field :nick %> |
<%= @form.label :first_name %> | <%= @form.text_field :first_name %> |
<%= @form.label :last_name %> | <%= @form.text_field :last_name %> |
<%= @form.label :email %> | <%= @form.text_field :email %> |
<%= @form.label :phone %> | <%= @form.text_field :phone %> |
<%= @form.label :password, "Password" %> | <%= @form.password_field :password %> |
<%= @form.label :password_confirmation, "Password confirmation" %> | <%= @form.password_field :password_confirmation %> |
Einstellungen: | |
<%= check_box_tag "user[setting_attributes][#{setting}]", '1', @user.settings[setting] == '1' || @user.settings_default(setting) %> |