2010-05-10 22:39:52 +00:00
|
|
|
- title t('.title')
|
|
|
|
|
|
|
|
- content_for :submenu do
|
2011-11-08 00:11:15 +00:00
|
|
|
= render_cell 'locomotive/settings_menu', :show
|
2010-05-10 22:39:52 +00:00
|
|
|
|
2010-07-21 23:56:42 +00:00
|
|
|
%p!= t('.help')
|
2010-05-10 22:39:52 +00:00
|
|
|
|
2011-10-31 23:44:23 +00:00
|
|
|
= semantic_form_for @account, :url => accounts_url do |f|
|
2010-05-10 22:39:52 +00:00
|
|
|
|
|
|
|
= f.foldable_inputs :name => :information do
|
2011-03-04 23:29:40 +00:00
|
|
|
= f.input :name
|
2011-07-28 19:11:06 +00:00
|
|
|
- unless f.object.respond_to?(:password)
|
|
|
|
= f.input :email
|
2010-05-10 22:39:52 +00:00
|
|
|
|
2011-07-28 19:11:06 +00:00
|
|
|
- if f.object.respond_to?(:password)
|
|
|
|
= f.foldable_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
|
|
|
|
2011-11-08 00:11:15 +00:00
|
|
|
= render 'locomotive/shared/form_actions', :back_url => edit_current_site_url, :button_label => :create
|