lib/rid/generators/show/templates/show.mustache in rid-0.4.1 vs lib/rid/generators/show/templates/show.mustache in rid-0.5.0
- old
+ new
@@ -1,5 +1,9 @@
-<p><a href="{{path}}/_list/<%= pluralized_model_name %>/<%= pluralized_model_name %>">List <%= pluralized_model_name.humanize %></a></p>
+<p>
+ <a href="{{path}}/_list/<%= pluralized_model_name %>/<%= pluralized_model_name %>">List <%= pluralized_model_name.humanize %></a> |
+ <a href="{{path}}/_show/<%= model_name %>/{{id}}?edit">Edit <%= model_name.humanize %></a> |
+ <a href="{{path}}/_show/<%= model_name %>/{{id}}?delete">Delete <%= model_name.humanize %></a>
+</p>
<dl>
<dt>ID</dt>
<dd>{{id}}</dd>
<% attributes.each do |attribute| -%>
<dt><%= attribute.humanize %></dt>