Sha256: e7c9573bc4010f45959aa61d45bb5491a1f73b608dbff0c25f0a8600be44ae01

Contents?: true

Size: 710 Bytes

Versions: 29

Compression:

Stored size: 710 Bytes

Contents

<%% content_for :right_page_toolbar do %>
<%%= link_to(render_icon_and_text_content('icon-circle-arrow-left', "#{t('labels.back_to')}#{t('model.list', :model => <%= class_name.split('::').last %>.model_name.human)}"), <%= plural_table_name %>_path, class: 'btn btn-inverse') %>
<%% end %>

<%%= simple_form_for(@<%= singular_table_name %>, :html => {:class => 'form-horizontal' }) do |f| %>
  <%%= f.error_notification %>

  <div class="form-inputs">
  <%- attributes.each do |attribute| -%>
    <%%= f.<%= attribute.reference? ? :association : :input %> :<%= attribute.name %> %>
  <%- end -%>
  </div>

  <div class="form-actions">
    <%%= f.button :submit, class: 'btn btn-inverse' %>
  </div>
<%% end %>

Version data entries

29 entries across 29 versions & 2 rubygems

Version Path
tida_conte_template-0.1.19 lib/generators/tida_conte_template/templates/erb/scaffold/_form.html.erb
conte_rails_template-0.1.11 lib/generators/conte_rails_template/templates/erb/scaffold/_form.html.erb
conte_rails_template-0.1.9 lib/generators/conte_rails_template/templates/erb/scaffold/_form.html.erb
conte_rails_template-0.1.8 lib/generators/conte_rails_template/templates/erb/scaffold/_form.html.erb
conte_rails_template-0.1.7 lib/generators/conte_rails_template/templates/erb/scaffold/_form.html.erb
conte_rails_template-0.1.6 lib/generators/conte_rails_template/templates/erb/scaffold/_form.html.erb
conte_rails_template-0.1.5 lib/generators/conte_rails_template/templates/erb/scaffold/_form.html.erb
conte_rails_template-0.1.4 lib/generators/conte_rails_template/templates/erb/scaffold/_form.html.erb
conte_rails_template-0.1.3 lib/generators/conte_rails_template/templates/erb/scaffold/_form.html.erb
conte_rails_template-0.1.2 lib/generators/conte_rails_template/templates/erb/scaffold/_form.html.erb
conte_rails_template-0.1.1 lib/generators/conte_rails_template/templates/erb/scaffold/_form.html.erb
conte_rails_template-0.1.0 lib/generators/conte_rails_template/templates/erb/scaffold/_form.html.erb
conte_rails_template-0.0.37 lib/generators/conte_rails_template/templates/erb/scaffold/_form.html.erb
conte_rails_template-0.0.36 lib/generators/conte_rails_template/templates/erb/scaffold/_form.html.erb
conte_rails_template-0.0.35 lib/generators/conte_rails_template/templates/erb/scaffold/_form.html.erb
conte_rails_template-0.0.34 lib/generators/conte_rails_template/templates/erb/scaffold/_form.html.erb
conte_rails_template-0.0.33 lib/generators/conte_rails_template/templates/erb/scaffold/_form.html.erb
conte_rails_template-0.0.32 lib/generators/conte_rails_template/templates/erb/scaffold/_form.html.erb
conte_rails_template-0.0.31 lib/generators/conte_rails_template/templates/erb/scaffold/_form.html.erb
conte_rails_template-0.0.30 lib/generators/conte_rails_template/templates/erb/scaffold/_form.html.erb