shoulda_generator 1.3.3 → 1.3.4
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,6 @@
|
|
1
1
|
%h1
|
2
|
-
= t("Listing")
|
2
|
+
= t("Listing")
|
3
|
+
<%= plural_name.humanize %>
|
3
4
|
|
4
5
|
%table
|
5
6
|
%tr
|
@@ -16,4 +17,4 @@
|
|
16
17
|
%td= link_to t('edit'), edit_<%= singular_name %>_path(<%= singular_name %>)
|
17
18
|
%td= link_to t('destroy'), <%= singular_name %>, :confirm => t('sure destroy'), :method => :delete
|
18
19
|
|
19
|
-
%p= link_to
|
20
|
+
%p= link_to (t('new') + '<%= singular_name.humanize %>', new_<%= singular_name %>_path)
|