Sha256: f0690c05ca9bea3e62ddd264f84aee3082646b1f4b307e4b9a235bf1361ab6a4

Contents?: true

Size: 513 Bytes

Versions: 5

Compression:

Stored size: 513 Bytes

Contents

.row-fluid
  .span6
    %h3= t_model(Address)
    = render 'vcards/form', :f => f

  .span6
    %h3= t_model(PhoneNumber)
    .nested-form.list.contacts
      = f.fields_for :vcard do |vcard|
        - vcard.reference.contacts.build_defaults
        - vcard.fields_for :contacts do |contact|
          = render 'phone_numbers/form', :item => contact
    = link_to [:new_phone_number, resource.persisted? ? resource : controller_name], :remote => true, :class => 'btn' do
      %i.icon-plus
      =t_action(:more)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
has_vcards-1.1.2 app/views/has_vcards/people/_address_form.html.haml
has_vcards-1.1.1 app/views/has_vcards/people/_address_form.html.haml
has_vcards-1.1.0 app/views/has_vcards/people/_address_form.html.haml
has_vcards-1.0.0 app/views/has_vcards/people/_address_form.html.haml
has_vcards-1.0.0.rc0 app/views/has_vcards/people/_address_form.html.haml