Sha256: 1a7804ef3f4696db3f9fe80c55da3670abdb787a13de41288acf84b08e5fd021

Contents?: true

Size: 771 Bytes

Versions: 5

Compression:

Stored size: 771 Bytes

Contents

.remote
  = simple_form_for(@contact, :html => one_submit_only(:contact), :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

    .buttonbar
      = f.submit t(:save_contact), :onclick => "crm.save_contact()"
      #{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.12.3 app/views/contacts/_edit.html.haml
fat_free_crm-0.12.2 app/views/contacts/_edit.html.haml
fat_free_crm-0.12.1 app/views/contacts/_edit.html.haml
fat_free_crm-0.12.0 app/views/contacts/_edit.html.haml
fat_free_crm-0.11.4 app/views/contacts/_edit.html.haml