Sha256: a89f4934db1263e9df4a46a04636c6a5e02d2a31302f62d9604e8c0e0d7b6763

Contents?: true

Size: 454 Bytes

Versions: 29

Compression:

Stored size: 454 Bytes

Contents

<%- columns.each do |column| -%>
.clearfix
  = f.label :<%= column.name %>, t("activerecord.attributes.<%= model_name.underscore %>.<%= column.name %>", :default => "<%= column.name.humanize %>"), :class => :label
  .input
    = f.<%= column.field_type %> :<%= column.name %>, :class => '<%= column.field_type %>'
<%- end -%>

.form-actions
  button class="btn primary" type="submit" Save
  | or
  = link_to "Cancel", <%= controller_routing_path %>_path

Version data entries

29 entries across 29 versions & 3 rubygems

Version Path
bootstrapped-rails-2.0.6 lib/generators/bootstrapped/themed/templates/_form.html.slim
bootstrapped-rails-2.0.5 lib/generators/bootstrapped/themed/templates/_form.html.slim
bootstrapped-rails-2.0.4 lib/generators/bootstrapped/themed/templates/_form.html.slim
fix-twitter-bootstrap-rails-2.0.3 lib/generators/bootstrap/themed/templates/_form.html.slim
twitter-bootstrap-rails-2.0.3 lib/generators/bootstrap/themed/templates/_form.html.slim
twitter-bootstrap-rails-2.0.1.0 lib/generators/bootstrap/themed/templates/_form.html.slim
twitter-bootstrap-rails-2.0.2 lib/generators/bootstrap/themed/templates/_form.html.slim
twitter-bootstrap-rails-2.0.1 lib/generators/bootstrap/themed/templates/_form.html.slim
twitter-bootstrap-rails-2.0.0 lib/generators/bootstrap/themed/templates/_form.html.slim