Sha256: 9e5a17181475e7f145168b8f65bfc5c99d5aeaa80d41887ea23881b2357c7d35

Contents?: true

Size: 1.09 KB

Versions: 4

Compression:

Stored size: 1.09 KB

Contents

<%= f.fields_for @page.contact_page do |contact_page_form| %>
    <%= contact_page_form.label :contact_id,  t('.show_contact_form_for')  %>
    <%= contact_page_form.collection_select( :contact_id, Refinery::Contacts::Contact.all, :id, :title,
                                             { :include_blank => true},
                                             { :data => {
                                                     :placeholder=> t('.choose_contact')},
                                               :multiple=> false,
                                               :class=> "chzn-select-deselect",
                                               :style=>"min-width: 300px;"
                                             }) %> <br/> <br/>

    <div class='field'>
      <span class='label_with_help'>
        <%= contact_page_form.label :contact_info %>
        <%= refinery_help_tag t('.contact_info_help') %>
      </span>
      <%= contact_page_form.check_box :contact_info %>
      <%= contact_page_form.label :contact_info, t('.show_contact_info'), :style=>"display:inline;"   %>
    </div>
<% end %>




Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
refinerycms-contacts-0.2.0 app/views/refinery/admin/pages/tabs/contacts/_form.html.erb
refinerycms-contacts-0.1.2 app/views/refinery/admin/pages/tabs/contacts/_form.html.erb
refinerycms-contacts-0.1.1 app/views/refinery/admin/pages/tabs/contacts/_form.html.erb
refinerycms-contacts-0.1.0 app/views/refinery/admin/pages/tabs/contacts/_form.html.erb