Sha256: 1d0eee9214ce0cca97b029d5f04275299ce4748e2e2f95c1ec991ad7523f6675

Contents?: true

Size: 513 Bytes

Versions: 16

Compression:

Stored size: 513 Bytes

Contents

= form_for @<%= resource_name %>, :html => { :class => 'form-horizontal' } do |f|
  <%- columns.each do |column| -%>
  .control-group
    = f.label :<%= column.name %>, :class => 'control-label'
    .controls
      = f.<%= column.field_type %> :<%= column.name %>, :class => '<%= column.field_type %>'
  <%- 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

16 entries across 16 versions & 1 rubygems

Version Path
twitter-bootswatch-rails-3.1.1.0 lib/generators/bootswatch/themed/templates/_form.html.slim
twitter-bootswatch-rails-3.1.0.4 lib/generators/bootswatch/themed/templates/_form.html.slim
twitter-bootswatch-rails-3.1.0.3 lib/generators/bootswatch/themed/templates/_form.html.slim
twitter-bootswatch-rails-3.1.0.1 lib/generators/bootswatch/themed/templates/_form.html.slim
twitter-bootswatch-rails-3.1.0.0 lib/generators/bootswatch/themed/templates/_form.html.slim
twitter-bootswatch-rails-3.0.3.0 lib/generators/bootswatch/themed/templates/_form.html.slim
twitter-bootswatch-rails-3.0.2.0 lib/generators/bootswatch/themed/templates/_form.html.slim
twitter-bootswatch-rails-3.0.1.0 lib/generators/bootswatch/themed/templates/_form.html.slim
twitter-bootswatch-rails-3.0.0.2 lib/generators/bootswatch/themed/templates/_form.html.slim
twitter-bootswatch-rails-3.0.0.0 lib/generators/bootswatch/themed/templates/_form.html.slim
twitter-bootswatch-rails-2.3.2.8 lib/generators/bootswatch/themed/templates/_form.html.slim
twitter-bootswatch-rails-2.3.2.7 lib/generators/bootswatch/themed/templates/_form.html.slim
twitter-bootswatch-rails-2.3.2.6 lib/generators/bootswatch/themed/templates/_form.html.slim
twitter-bootswatch-rails-2.3.2.5 lib/generators/bootswatch/themed/templates/_form.html.slim
twitter-bootswatch-rails-2.3.2.4 lib/generators/bootswatch/themed/templates/_form.html.slim
twitter-bootswatch-rails-2.3.2.3 lib/generators/bootswatch/themed/templates/_form.html.slim