Sha256: 4888ed4568338022f22c71fa80b2894b05481a7158c41a04df7006e959283b5e

Contents?: true

Size: 626 Bytes

Versions: 58

Compression:

Stored size: 626 Bytes

Contents

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

58 entries across 58 versions & 10 rubygems

Version Path
devbootsrap-0.0.7 lib/generators/bootstrap/themed/templates/_form.html.erb
devbootsrap-0.0.6 lib/generators/bootstrap/themed/templates/_form.html.erb
devbootsrap-0.0.5 lib/generators/bootstrap/themed/templates/_form.html.erb
devbootsrap-0.0.4 lib/generators/bootstrap/themed/templates/_form.html.erb
devbootsrap-0.0.3 lib/generators/bootstrap/themed/templates/_form.html.erb
twitter-bootswatch-rails-3.1.1.0 lib/generators/bootswatch/themed/templates/_form.html.erb
twitter-bootswatch-rails-3.1.0.4 lib/generators/bootswatch/themed/templates/_form.html.erb
twitter-bootswatch-rails-3.1.0.3 lib/generators/bootswatch/themed/templates/_form.html.erb
twitter-bootswatch-rails-3.1.0.1 lib/generators/bootswatch/themed/templates/_form.html.erb
twitter-bootswatch-rails-3.1.0.0 lib/generators/bootswatch/themed/templates/_form.html.erb
twitter-bootswatch-rails-3.0.3.0 lib/generators/bootswatch/themed/templates/_form.html.erb
twitter-bootswatch-rails-3.0.2.0 lib/generators/bootswatch/themed/templates/_form.html.erb
twitter-bootswatch-rails-3.0.1.0 lib/generators/bootswatch/themed/templates/_form.html.erb
twitter-bootswatch-rails-3.0.0.2 lib/generators/bootswatch/themed/templates/_form.html.erb
bootstrap-sass-extras-0.0.5 lib/generators/bootstrap/themed/templates/_form.html.erb
twitter-bootswatch-rails-3.0.0.0 lib/generators/bootswatch/themed/templates/_form.html.erb
twitter-bootswatch-rails-2.3.2.8 lib/generators/bootswatch/themed/templates/_form.html.erb
twitter-bootstrap-rails-2.2.8 lib/generators/bootstrap/themed/templates/_form.html.erb
twitter-bootswatch-rails-2.3.2.7 lib/generators/bootswatch/themed/templates/_form.html.erb
twitter-bootswatch-rails-2.3.2.6 lib/generators/bootswatch/themed/templates/_form.html.erb