Skip to content

Commit

Permalink
Title moved for the nifty:layout style
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitri Koulikoff committed Oct 29, 2010
1 parent c232ab5 commit 79238a2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion scaffold/templates/edit.html.haml
@@ -1,4 +1,5 @@
%h1= t '.title'
- title t('.title')

%p
= link_to t('back'), <%= plural_name %>_path
= link_to t('show'), @<%= singular_name %>
Expand Down
3 changes: 2 additions & 1 deletion scaffold/templates/index.html.haml
@@ -1,4 +1,5 @@
%h1= t('.title')
- title t('.title')

%p= link_to t('.new_<%= singular_name %>'), new_<%= singular_name %>_path

%table
Expand Down
3 changes: 2 additions & 1 deletion scaffold/templates/new.html.haml
@@ -1,3 +1,4 @@
%h1= t '.title'
- title t('.title')

%p= link_to t('back'), <%= plural_name %>_path
= render 'form'
3 changes: 2 additions & 1 deletion scaffold/templates/show.html.haml
@@ -1,4 +1,5 @@
%h1= t '.title'
- title t('.title')

%p
= link_to t('back'), <%= plural_name %>_path
= link_to t('edit'), edit_<%= singular_name %>_path(@<%= singular_name %>)
Expand Down

0 comments on commit 79238a2

Please sign in to comment.