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'
    | &#xA0;
    = 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

Version Path
twitter-bootswatch-rails-3.3.2.0 lib/generators/bootswatch/themed/templates/_form.html.slim
twitter-bootswatch-rails-3.2.0.0 lib/generators/bootswatch/themed/templates/_form.html.slim
twitter-bootswatch-rails-3.1.1.1 lib/generators/bootswatch/themed/templates/_form.html.slim