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

22 lines
682 B
Plaintext
Raw Normal View History

- title t('.title')
- content_for :submenu do
= render 'admin/shared/menu/settings'
2010-07-21 23:56:42 +00:00
%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
2010-07-21 23:56:42 +00:00
= f.custom_input :password, :label => :new_password do
= f.password_field :password
2010-07-21 23:56:42 +00:00
= f.custom_input :password_confirmation, :label => :new_password_confirmation do
= f.password_field :password_confirmation
2010-07-21 23:56:42 +00:00
= render 'admin/shared/form_actions', :back_url => edit_admin_current_site_url, :button_label => :create