Sha256: 21f04200f43c7c4d9aecab8b12e1272b806f1ec45de7e3609ef1cbf97113adb1

Contents?: true

Size: 604 Bytes

Versions: 15

Compression:

Stored size: 604 Bytes

Contents

- ptt = @page_template_term
.cms_form
  = form_for ptt, :url=>"/admin/page_template_terms#{ptt.id==0 ? '' : ('/'+ptt.id.to_s)}" do |f|
    = f.error_messages
    = f.hidden_field :page_template_id
    %p
      = f.label :name
      %br
      = f.text_field :name

    %p
      = f.label :form_field_type_id
      %br
      = f.select :form_field_type_id, options_from_collection_for_select(FormFieldType.sys(_sid).order(:name).where(:has_asset=>0), :id, :long_name, ptt.form_field_type_id)

    %p
      = f.label "Allow multiple entries"
      = f.check_box :can_repeat
    %p
      = kit_submit "Save"

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
kit_cms-2.3.22 app/views/admin/page_template_terms/_form.html.haml
kit_cms-2.3.20 app/views/admin/page_template_terms/_form.html.haml
kit_cms-2.3.19 app/views/admin/page_template_terms/_form.html.haml
kit_cms-2.3.18 app/views/admin/page_template_terms/_form.html.haml
kit_cms-2.3.17 app/views/admin/page_template_terms/_form.html.haml
kit_cms-2.3.16 app/views/admin/page_template_terms/_form.html.haml
kit_cms-2.3.15 app/views/admin/page_template_terms/_form.html.haml
kit_cms-2.3.14 app/views/admin/page_template_terms/_form.html.haml
kit_cms-2.3.13 app/views/admin/page_template_terms/_form.html.haml
kit_cms-2.3.11 app/views/admin/page_template_terms/_form.html.haml
kit_cms-2.3.10 app/views/admin/page_template_terms/_form.html.haml
kit_cms-2.3.9 app/views/admin/page_template_terms/_form.html.haml
kit_cms-2.3.8 app/views/admin/page_template_terms/_form.html.haml
kit_cms-2.3.7 app/views/admin/page_template_terms/_form.html.haml
kit_cms-2.3.6 app/views/admin/page_template_terms/_form.html.haml