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

21 lines
660 B
Plaintext
Raw Normal View History

- title t('.title')
- content_for :submenu do
= render_cell 'locomotive/settings_menu', :show
2010-07-21 23:56:42 +00:00
%p!= t('.help')
= semantic_form_for @account, :url => accounts_url do |f|
= f.inputs :name => :information do
= f.input :name
- unless f.object.respond_to?(:password)
= f.input :email
- if f.object.respond_to?(:password)
= f.inputs :name => :credentials do
= f.input :email
= f.input :password, :input_html => { :autocomplete => "off" }
= f.input :password_confirmation, :input_html => { :autocomplete => "off" }
2010-07-21 23:56:42 +00:00
= render 'locomotive/shared/form_actions', :back_url => edit_current_site_url, :button_label => :create