Sha256: c8556d938d3ac14e0b2552bcb937728582f9188e1cbd86bd9eb828ca061a1035

Contents?: true

Size: 1.55 KB

Versions: 6

Compression:

Stored size: 1.55 KB

Contents

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

%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

6 entries across 6 versions & 1 rubygems

Version Path
e9_crm-0.1.34 app/views/e9_crm/contacts/_form_inner.html.haml
e9_crm-0.1.33 app/views/e9_crm/contacts/_form_inner.html.haml
e9_crm-0.1.32 app/views/e9_crm/contacts/_form_inner.html.haml
e9_crm-0.1.31 app/views/e9_crm/contacts/_form_inner.html.haml
e9_crm-0.1.30 app/views/e9_crm/contacts/_form_inner.html.haml
e9_crm-0.1.29 app/views/e9_crm/contacts/_form_inner.html.haml