Sha256: 469586af52d6037d73e108b57bc88d21cd26780a9a9bea55b9d11e26d95543e6

Contents?: true

Size: 445 Bytes

Versions: 11

Compression:

Stored size: 445 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 %> %>
    </li>
    <%- end -%>

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

Version data entries

11 entries across 11 versions & 1 rubygems

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