Sha256: 52f7523414d3c60c6c7ee529f796949eafc185cbc7c2971e2ac363891698d865

Contents?: true

Size: 463 Bytes

Versions: 6

Compression:

Stored size: 463 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

6 entries across 6 versions & 2 rubygems

Version Path
hsc-twitter-bootstrap-rails-0.2.0 lib/generators/bootstrap/themed/templates/_form.html.haml
twitter-bootstrap-rails-2.0.3 lib/generators/bootstrap/themed/templates/_form.html.haml
twitter-bootstrap-rails-2.0.1.0 lib/generators/bootstrap/themed/templates/_form.html.haml
twitter-bootstrap-rails-2.0.2 lib/generators/bootstrap/themed/templates/_form.html.haml
twitter-bootstrap-rails-2.0.1 lib/generators/bootstrap/themed/templates/_form.html.haml
twitter-bootstrap-rails-2.0.0 lib/generators/bootstrap/themed/templates/_form.html.haml