Sha256: 5439791f0a76809ea3996bdb5d2f7f1136cd9e0fd751b26194e3cdfc9c9f8095

Contents?: true

Size: 693 Bytes

Versions: 27

Compression:

Stored size: 693 Bytes

Contents

<% cms_cache do
   select = cms_select(1, Float::INFINITY)
-%>

<%= cms_form_for do |f| %>
  <%= f.input :name, input_html: cms_validate_presence %>
  <%= f.input :email, input_html: cms_validate_email %>
  <%= f.input :periods, as: :check_boxes, collection: select.options, input_html: cms_validates(check_boxes: true) %>
  <%= select.edit_links(:value) %>

  <%# cms_form_instance.fields.each do |field| %>
    <%#= f.input field.column_key,
      as: field.input_type,
      required: field.required?,
      label: field.label,
      input_html: cms_validates(field.input_type => field.required?)
    -%>
  <%# end %>

  <%= f.submit cms_form_send, cms_form_sending %>
<% end %>

<% end %>

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
rails_admin_cms-0.1.1 lib/generators/cms/install/templates/app/views/cms/forms/contact/_form.html.erb
o2webappizer-0.2.6 templates/app/views/cms/forms/contact/_form.html.erb
rails_admin_cms-0.0.9 lib/generators/cms/install/templates/app/views/cms/forms/contact/_form.html.erb
o2webappizer-0.2.5 templates/app/views/cms/forms/contact/_form.html.erb
o2webappizer-0.2.4 templates/app/views/cms/forms/contact/_form.html.erb
o2webappizer-0.2.3 templates/app/views/cms/forms/contact/_form.html.erb
o2webappizer-0.2.2 templates/app/views/cms/forms/contact/_form.html.erb
o2webappizer-0.2.1 templates/app/views/cms/forms/contact/_form.html.erb
rails_admin_cms-0.0.7 lib/generators/cms/install/templates/app/views/cms/forms/contact/_form.html.erb
o2webappizer-0.2.0 templates/app/views/cms/forms/contact/_form.html.erb
o2webappizer-0.1.15 templates/app/views/cms/forms/contact/_form.html.erb
o2webappizer-0.1.14 templates/app/views/cms/forms/contact/_form.html.erb
o2webappizer-0.1.13 templates/app/views/cms/forms/contact/_form.html.erb
o2webappizer-0.1.12 templates/app/views/cms/forms/contact/_form.html.erb
o2webappizer-0.1.11 templates/app/views/cms/forms/contact/_form.html.erb
o2webappizer-0.1.10 templates/app/views/cms/forms/contact/_form.html.erb
o2webappizer-0.1.9 templates/app/views/cms/forms/contact/_form.html.erb
o2webappizer-0.1.8 templates/app/views/cms/forms/contact/_form.html.erb
o2webappizer-0.1.7 templates/app/views/cms/forms/contact/_form.html.erb
rails_admin_cms-0.0.6 lib/generators/cms/install/templates/app/views/cms/forms/contact/_form.html.erb