Sha256: 81a482a7cb7ca93399e85fcffd371162c47b1f45e0f7ba53de3da65b298b2624
Contents?: true
Size: 482 Bytes
Versions: 3
Compression:
Stored size: 482 Bytes
Contents
= form_for @<%= resource_name %>, :html => { :class => 'form-horizontal' } do |f| <%- columns.each do |column| -%> .form-group = f.label :<%= column.name %>, :class => 'control-label' = f.<%= column.field_type %> :<%= column.name %>, :class => 'form-control' <%- end -%> .form-actions = f.submit nil, :class => 'btn btn-primary' |   = link_to t('.cancel', :default => t("helpers.links.cancel")), <%= controller_routing_path %>_path, :class => 'btn'
Version data entries
3 entries across 3 versions & 1 rubygems