Sha256: 7201118f1bcfff12e55b8f4dd43dbd16bde9551fd8cd8ad60e7f28b609e3c816
Contents?: true
Size: 867 Bytes
Versions: 2
Compression:
Stored size: 867 Bytes
Contents
<%# cms_form %> <% cms_cache do select = cms_select(1, Float::INFINITY) -%> <%#= @cms_view.edit_link %> <%#= @cms_view.add_link %> <%= 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.input :structure_id, as: :hidden, input_html: { value: cms_form_instance.structure_id } %> <%= f.submit cms_form_send, cms_form_sending %> <% end %> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems