Sha256: 523eeb1fdafa761fec2438f764f4b5cc6e4977cb0d4198fa0b66461ad5e56478

Contents?: true

Size: 793 Bytes

Versions: 5

Compression:

Stored size: 793 Bytes

Contents

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

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

    = render "contacts/top_section", f: f, edit: true
    = render "fields/edit_custom_field_group", f: f, edit: true
    = render "contacts/extra",       f: f, edit: true
    = render "contacts/web",         f: f, edit: true
    = render "fields/groups",        f: f, edit: true
    = render "entities/permissions", f: f, edit: true, entity: @contact
    = hook(:entity_form, self, {f: f, entity: @contact})

    .buttonbar
      = f.submit t(:save_contact), onclick: "crm.save_contact()", class: 'btn btn-primary'
      #{t :or}
      = link_to_cancel edit_contact_path(@contact)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fat_free_crm-0.22.1 app/views/contacts/_edit.html.haml
fat_free_crm-0.22.0 app/views/contacts/_edit.html.haml
fat_free_crm-0.21.0 app/views/contacts/_edit.html.haml
fat_free_crm-0.20.1 app/views/contacts/_edit.html.haml
fat_free_crm-0.20.0 app/views/contacts/_edit.html.haml