Sha256: c3357474ff19c1664914d053c0cb64dce302a48917077a9e6d6b2150c5835b33

Contents?: true

Size: 571 Bytes

Versions: 3

Compression:

Stored size: 571 Bytes

Contents

<%%= form_for @<%= resource_name %>, :html => { :class => 'form-horizontal' } do |f| %>
  <%- columns.each do |column| -%>
  <div class="form-group">
    <%%= f.label :<%= column.name %>, :class => 'control-label' %>
    <%%= f.<%= column.field_type %> :<%= column.name %>, :class => 'form-control' %>
  </div>
  <%- end -%>

  <div class="form-actions">
    <%%= f.submit nil, :class => 'btn btn-primary' %>
    <%%= link_to t('.cancel', :default => t("helpers.links.cancel")),
                <%= controller_routing_path %>_path, :class => 'btn' %>
  </div>
<%% end %>

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.erb
twitter-bootswatch-rails-3.2.0.0 lib/generators/bootswatch/themed/templates/_form.html.erb
twitter-bootswatch-rails-3.1.1.1 lib/generators/bootswatch/themed/templates/_form.html.erb