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("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