Sha256: 3391449ff4d2381b1e9ffcbb613bbd87a8c22e4c201ded86822f04b5cf3d1318

Contents?: true

Size: 788 Bytes

Versions: 18

Compression:

Stored size: 788 Bytes

Contents

= simple_form_for(@contact, :html => one_submit_only, :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
  = hook(:entity_form, self, {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

18 entries across 18 versions & 2 rubygems

Version Path
fat_free_crm-0.14.2 app/views/contacts/_new.html.haml
fat_free_crm-0.15.2 app/views/contacts/_new.html.haml
fat_free_crm-0.16.4 app/views/contacts/_new.html.haml
fat_free_crm-0.14.1 app/views/contacts/_new.html.haml
fat_free_crm-0.15.1 app/views/contacts/_new.html.haml
fat_free_crm-0.16.3 app/views/contacts/_new.html.haml
fat_free_crm-0.16.2 app/views/contacts/_new.html.haml
fat_free_crm-0.16.1 app/views/contacts/_new.html.haml
fat_free_crm-0.16.0 app/views/contacts/_new.html.haml
fat_free_crm-0.15.0 app/views/contacts/_new.html.haml
fat_free_crm-0.15.0.beta.2 app/views/contacts/_new.html.haml
fat_free_crm-0.15.0.beta app/views/contacts/_new.html.haml
fat_free_crm-0.14.0 app/views/contacts/_new.html.haml
reduced_fat_crm-0.15.0.beta app/views/contacts/_new.html.haml
reduced_fat_crm-0.14.0 app/views/contacts/_new.html.haml
fat_free_crm-0.13.6 app/views/contacts/_new.html.haml
fat_free_crm-0.13.5 app/views/contacts/_new.html.haml
fat_free_crm-0.13.4 app/views/contacts/_new.html.haml