Sha256: f0ff815a558d1a8fe62315acb4ef5dc93cd2f8f69ee9cf40064d23b0405cb5ee

Contents?: true

Size: 618 Bytes

Versions: 23

Compression:

Stored size: 618 Bytes

Contents

<%%= simple_form_for @<%= resource_name %>, :html => { :class => 'form-horizontal' } do |f| %>
  <%- columns.each do |column| -%>
  <%%= f.input :<%= column.name %> %>
  <%- end -%>
  <%- if ::SimpleForm::FormBuilder.instance_methods.include?(:wrapped_button) -%>
  <%%= f.button :wrapped, :cancel => <%= controller_routing_path %>_path %>
  <%- else -%>
  <div class="form-actions">
    <%%= f.button :submit, :class => 'btn btn-primary' %>
    <%%= link_to t('.cancel', :default => t("helpers.links.cancel")),
                <%= controller_routing_path %>_path, :class => 'btn' %>
  </div>
  <%- end -%>
<%% end %>

Version data entries

23 entries across 23 versions & 1 rubygems

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