Sha256: acbaadf31d7497f2ca04687d0b3479ca3802c835fb919b7c23f9ab0a5d870c65

Contents?: true

Size: 770 Bytes

Versions: 5

Compression:

Stored size: 770 Bytes

Contents

= simple_form_for(@account, html: one_submit_only, remote: true) do |f|
  = link_to_close new_account_path
  = f.hidden_field :user_id

  = f.error_messages object_name: t('account')

  = render "accounts/top_section",  f: f
  = render "fields/edit_custom_field_group", f: f
  = render "shared/add_comment", f: f
  = render "accounts/contact_info", f: f
  = render "fields/groups",  f: f
  = render "entities/permissions",  f: f, entity: @account
  = hook(:entity_form, self, {f: f, entity: @account})

  .buttonbar
    - if Setting.compound_address
      = f.submit t(:create_account), onclick: "crm.clear_all_hints()", class: 'btn btn-primary'
    - else
      = f.submit t(:create_account), class: 'btn btn-primary'
    #{t :or}
    = link_to_cancel new_account_path

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fat_free_crm-0.22.1 app/views/accounts/_new.html.haml
fat_free_crm-0.22.0 app/views/accounts/_new.html.haml
fat_free_crm-0.21.0 app/views/accounts/_new.html.haml
fat_free_crm-0.20.1 app/views/accounts/_new.html.haml
fat_free_crm-0.20.0 app/views/accounts/_new.html.haml