mirror of https://github.com/fspc/BikeShed-1.git
Jason Denney
12 years ago
2 changed files with 5 additions and 1 deletions
@ -0,0 +1,4 @@ |
|||||
|
- model_class = bike_model.class |
||||
|
.page-header |
||||
|
%h1=t '.title', :default => t('helpers.titles.edit', :model => model_class.model_name.human, :default => "Edit #{model_class.model_name.human}") |
||||
|
= render :partial => "form" |
@ -1,4 +1,4 @@ |
|||||
- model_class = @bike_model.class |
- model_class = bike_model.class |
||||
.page-header |
.page-header |
||||
%h1=t '.title', :default => t('helpers.titles.new', :model => model_class.model_name.human, :default => "New #{model_class.model_name.human}") |
%h1=t '.title', :default => t('helpers.titles.new', :model => model_class.model_name.human, :default => "New #{model_class.model_name.human}") |
||||
= render :partial => "form" |
= render :partial => "form" |
||||
|
Loading…
Reference in new issue