Sha256: c671f80a4e8404b7262ff0a051054b10a8b556c26ea71286a665aa430ab297a6

Contents?: true

Size: 638 Bytes

Versions: 3

Compression:

Stored size: 638 Bytes

Contents

<h1><%%=title t('.title') %></h1>
<%% form_for(@<%= singular_name %>) do |f| %>
  <%%= render :partial => 'fields', :locals => { :f => f } %>
  <p><%%= f.submit t('.submit') %></p>
<%% end %>
<p>
<%- if is_action_included? :show -%>
  <%%= link_to t('<%= plural_name %>.show.title'), @<%= singular_name %> %> |
<%- end -%>
<%- if is_action_included? :destroy -%>
  <%%= link_to t('<%= plural_name %>.destroy.title'), @<%= singular_name %>, :confirm => 'Are you sure?', :method => :delete %><%- end -%> |
<%- if is_action_included? :index -%>
  <%%= link_to t('<%= plural_name %>.index.title'), <%= plural_name %>_path %>
<%- end -%>
</p>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jfs-generators-0.2.0 rails_generators/jfs_scaffold/templates/views/edit.html.erb
jfs-generators-0.2.4 rails_generators/jfs_scaffold/templates/views/edit.html.erb
jfs-generators-0.2.3 rails_generators/jfs_scaffold/templates/views/edit.html.erb