Sha256: 5201accc8fe2c0b5e3fb77ffa36ea415de2abb68ae9e5867ba601636f822ac11

Contents?: true

Size: 633 Bytes

Versions: 8

Compression:

Stored size: 633 Bytes

Contents

- title t('.title')

- content_for :submenu do
  = render_cell 'locomotive/settings_menu', :show

%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" }

  = render 'locomotive/shared/form_actions', back_url: edit_current_site_url, button_label: :create

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
locomotive_cms-2.2.2 app/views/locomotive/accounts/new.html.haml
locomotive_cms-2.2.1 app/views/locomotive/accounts/new.html.haml
locomotive_cms-2.2.0 app/views/locomotive/accounts/new.html.haml
locomotive_cms-2.1.4 app/views/locomotive/accounts/new.html.haml
locomotive_cms-2.1.3 app/views/locomotive/accounts/new.html.haml
locomotive_cms-2.1.2 app/views/locomotive/accounts/new.html.haml
locomotive_cms-2.1.1 app/views/locomotive/accounts/new.html.haml
locomotive_cms-2.1.0 app/views/locomotive/accounts/new.html.haml