Sha256: f01108f3b47ee13dcfb62b2ada8e96aad00fa624c78661fd9008f98d9388d587

Contents?: true

Size: 743 Bytes

Versions: 5

Compression:

Stored size: 743 Bytes

Contents

= simple_form_for(@contact, :html => one_submit_only(:contact), :remote => true) do |f|
  = link_to_close new_contact_path
  = f.hidden_field :user_id
  = hidden_field_tag "opportunity", "#{@opportunity.id if @opportunity}"

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

  = render "contacts/top_section", :f => f
  = render "fields/edit_custom_field_group", :f => f
  = render "shared/add_comment",   :f => f
  = render "contacts/extra",       :f => f
  = render "contacts/web",         :f => f
  = render "fields/groups",        :f => f
  = render "entities/permissions", :f => f, :entity => @contact

  .buttonbar
    = f.submit t(:create_contact), :onclick => "crm.create_contact()"
    #{t :or}
    = link_to_cancel new_contact_path

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fat_free_crm-0.12.3 app/views/contacts/_new.html.haml
fat_free_crm-0.12.2 app/views/contacts/_new.html.haml
fat_free_crm-0.12.1 app/views/contacts/_new.html.haml
fat_free_crm-0.12.0 app/views/contacts/_new.html.haml
fat_free_crm-0.11.4 app/views/contacts/_new.html.haml