Sha256: cdcc8b7027f9aabb799556823196e3bc82c4a107f8a72d0b66bb7754b142afb7

Contents?: true

Size: 701 Bytes

Versions: 2

Compression:

Stored size: 701 Bytes

Contents

<%%= render 'form', <%= singular_table_name %>: @<%= singular_table_name %> %>

<%%= link_to <%= index_helper %>_path, class: 'btn btn-link' do %><i class='fa fa-list fa-lg'></i> <%%= t 'scaffold.action.back' %><%% end %>

<%% content_for :title do %>
  <%%= t 'scaffold.action.new' %><%%= <%= class_name %>.model_name.human %>_<%%= t 'scaffold.app.title' %>
<%% end %>

<%% content_for :meta do %>
<%% end %>

<%% content_for :style do %>
  <%%= stylesheet_link_tag '<%= plural_table_name %>/new' %>
  <style type="text/css">
  </style>
<%% end %>

<%% content_for :script do %>
  <%%= javascript_include_tag '<%= plural_table_name %>/new' %>
  <script type="text/javascript">
  </script>
<%% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
repres-bootstrap-2.0 lib/generators/repres/bootstrap/scaffold/templates/new.html.erb
repres-bootstrap-1.11 lib/generators/repres/bootstrap/scaffold/templates/new.html.erb