Sha256: 768b2e9ab11960126bcc99fb9bcc79fba4042db86201b03c3e9acf1f88aadc5b

Contents?: true

Size: 371 Bytes

Versions: 11

Compression:

Stored size: 371 Bytes

Contents

= form_for @<%= resource_name %>, :html => { :class => 'forms' } do |f|
  ul
    <%- columns.each do |column| -%>
    li
      = f.label :<%= column.name %>, :class => 'bold'
      = f.<%= column.field_type %> :<%= column.name %>
    <%- end -%>

    li
      = f.submit nil, :class => 'btn'
      = link_to 'Cancel', <%= controller_routing_path %>_path, :class => 'btn'

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
kube-rails-0.4.0 lib/generators/kube/themed/templates/_form.html.slim
kube-rails-0.3.1 lib/generators/kube/themed/templates/_form.html.slim
kube-rails-0.3.0 lib/generators/kube/themed/templates/_form.html.slim
kube-rails-0.2.0 lib/generators/kube/themed/templates/_form.html.slim
kube-rails-0.0.10 lib/generators/kube/themed/templates/_form.html.slim
kube-rails-0.0.9 lib/generators/kube/themed/templates/_form.html.slim
kube-rails-0.0.8 lib/generators/kube/themed/templates/_form.html.slim
kube-rails-0.0.7 lib/generators/kube/themed/templates/_form.html.slim
kube-rails-0.0.6 lib/generators/kube/themed/templates/_form.html.slim
kube-rails-0.0.5 lib/generators/kube/themed/templates/_form.html.slim
kube-rails-0.0.4 lib/generators/kube/themed/templates/_form.html.slim