Sha256: 4630bc0dac3d49f590fcc7ea8eeb08309520eec0d543931d4068fbca6edf7217
Contents?: true
Size: 539 Bytes
Versions: 20
Compression:
Stored size: 539 Bytes
Contents
= simple_form_for @<%= resource_name %>, :html => { :class => 'form-horizontal' } do |f| | <%- columns.each do |column| -%> = f.input :<%= column.name %> | <%- end -%> | <%- if ::SimpleForm::FormBuilder.instance_methods.include?(:wrapped_button) -%> = f.button :wrapped, :cancel => <%= controller_routing_path %>_path | <%- else -%> .form-actions = f.button :submit, :class => 'btn btn-primary' = link_to t('.cancel', :default => t("helpers.links.cancel")), <%= controller_routing_path %>_path, :class => 'btn' | <%- end -%>
Version data entries
20 entries across 20 versions & 1 rubygems