Sha256: 751d4cbe04b366133d6862714273dcf09a3b46678417e15ed47357dd62b76d2d

Contents?: true

Size: 1.17 KB

Versions: 3

Compression:

Stored size: 1.17 KB

Contents

%fieldset.contact-standard-fields
  %legend= e9_t(:form_legend_standard)
  .field
    = f.label :first_name
    = 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
  .field
    = f.label :status
    = f.select :status, Contact::Status::VALUES.map {|v| [v.titleize, v] }

  = 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(:users                               , f)
  = 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= f.label(:info)
  .field.tinymce
    = f.text_area :info

- content_for :bottom_javascripts do
  = javascript_include_tag templates_contacts_path

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
e9_crm-0.1.7 app/views/e9_crm/contacts/_form_inner.html.haml
e9_crm-0.1.6 app/views/e9_crm/contacts/_form_inner.html.haml
e9_crm-0.1.5 app/views/e9_crm/contacts/_form_inner.html.haml