shoulda_generator 1.3.3 → 1.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,6 @@
1
1
  %h1
2
- = t("Editing") <%= singular_name.humanize %>
2
+ = t("Editing")
3
+ <%= singular_name.humanize %>
3
4
 
4
5
  - form_for(@<%= singular_name %>) do |form|
5
6
  = render :partial => 'form', :locals => {:form => form}
@@ -1,5 +1,6 @@
1
1
  %h1
2
- = t("Listing") <%= plural_name.humanize %>
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 't('new') <%= singular_name.humanize %>', new_<%= singular_name %>_path
20
+ %p= link_to (t('new') + '<%= singular_name.humanize %>', new_<%= singular_name %>_path)
@@ -1,5 +1,6 @@
1
1
  %h1
2
- = t("New") <%= singular_name.humanize %>
2
+ = t("New")
3
+ <%= singular_name.humanize %>
3
4
 
4
5
  - form_for(@<%= singular_name %>) do |form|
5
6
  = render :partial => 'form', :locals => {:form => form}
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 3
8
- - 3
9
- version: 1.3.3
8
+ - 4
9
+ version: 1.3.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Josh Nichols