Sha256: 40b6c3c223922c7bf918eface183da88fcded76ba609138668772426941e9234

Contents?: true

Size: 518 Bytes

Versions: 1

Compression:

Stored size: 518 Bytes

Contents

.row-fluid
  .span6
    %h3= t('form.person.address')
    = render 'vcards/form', :f => f

  .span6
    %h3= t_model(PhoneNumber)
    .nested-form.list.contacts
      = f.fields_for :vcard do |vcard|
        - vcard.object.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

1 entries across 1 versions & 1 rubygems

Version Path
has_vcards-0.20.0 app/views/people/_address_form.html.haml