Sha256: 0219bc6909ed22760a35e95bb3385dfeb48dfcc23d831995b57994f6c1909861

Contents?: true

Size: 1.52 KB

Versions: 7

Compression:

Stored size: 1.52 KB

Contents

%fieldset.nested-associations
  %legend= f.label(:users)
  = render_record_attribute_association(:users, f)
  = link_to_add_record_attribute(:users)
  .field.checkbox
    = f.label :ok_to_email
    = f.check_box :ok_to_email

%fieldset.contact-standard-fields
  %legend= e9_t(:form_legend_standard)
  .field
    = f.label :first_name, nil, :class => :req
    = f.text_field :first_name
  .field
    = f.label :last_name
    = f.text_field :last_name
  .field
    = f.label :company_name
    = f.text_field :company_name
  .field
    = f.label :title
    = f.text_field :title

  = upload_mount_field(resource.avatar, :reset_path => true)

= render 'e9_tags/form', :f => f, :context => [:users, true]

%fieldset.contact-contact-fields
  %legend= e9_t(:form_legend_contact)
  = render_record_attribute_form(:phone_number_attributes, f)
  = render_record_attribute_form(:instant_messaging_handle_attributes, f)
  = render_record_attribute_form(:website_attributes, f)
  = render_record_attribute_form(:address_attributes, f)

%fieldset.contact-background-info
  %legend= help_label(f, :info, :key => :markdown_help, :header => 'Markdown Help')
  .field
    = f.text_area :info

- content_for :bottom_javascripts do
  = javascript_include_tag templates_contacts_path

  #merge-dialog{:title => t(:email_taken_title), 'data-id' => resource.try(:id) }
    = t(resource.persisted? ? :edit_conflict : :merge_conflict).html_safe
  #duplicate-dialog{:title => t(:duplicate_email_title), 'data-id' => resource.try(:id) }
    = t(:duplicate_email_warning).html_safe

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
e9_crm-0.1.28 app/views/e9_crm/contacts/_form_inner.html.haml
e9_crm-0.1.27 app/views/e9_crm/contacts/_form_inner.html.haml
e9_crm-0.1.26 app/views/e9_crm/contacts/_form_inner.html.haml
e9_crm-0.1.25 app/views/e9_crm/contacts/_form_inner.html.haml
e9_crm-0.1.24 app/views/e9_crm/contacts/_form_inner.html.haml
e9_crm-0.1.23 app/views/e9_crm/contacts/_form_inner.html.haml
e9_crm-0.1.22 app/views/e9_crm/contacts/_form_inner.html.haml