|
<p>
|
|
<%
|
|
language_list = @config.available_languages.collect{|id, name| [name, id] }
|
|
|
|
form_for_resource do |f|
|
|
%>
|
|
<%=
|
|
stacking_form(f) do |table|
|
|
table.field :login, _("Login"), :text_field
|
|
table.field :real_name, _("Real Name"), :text_field
|
|
table.field :email, _("eMail"), :text_field
|
|
table.field :prefered_language, _("Prefered language"), :select, language_list
|
|
table.field :admin, _("Administrator?"), :check_box
|
|
table.field :password, _("Password"), :password_field
|
|
table.field :password_confirmation, _("Password (confirmation)"), :password_field
|
|
table.content display_standard_form_buttons(submit_label)
|
|
end
|
|
%>
|
|
<%
|
|
end
|
|
%>
|
|
</p>
|