engine/app/views/admin/accounts/new.html.haml

22 lines
693 B
Plaintext
Raw Normal View History

- title t('.title')
- content_for :submenu do
= render 'admin/shared/menu/settings'
%p= t('.help')
= semantic_form_for @account, :url => admin_accounts_url do |f|
= f.foldable_inputs :name => :information do
= f.input :name, :required => false
= f.foldable_inputs :name => :credentials do
= f.input :email, :required => false
= f.custom_input :password, :label => :new_password do
= f.password_field :password
= f.custom_input :password_confirmation, :label => :new_password_confirmation do
= f.password_field :password_confirmation
= render 'admin/shared/form_actions', :back_url => edit_admin_current_site_url, :button_label => :create