mirror of
https://github.com/fspc/BikeShed-1.git
synced 2025-02-28 16:53:23 -05:00
Fix instance variables to locals
This commit is contained in:
parent
4ae03fc563
commit
1c203d86f5
4
app/views/bike_models/edit.html.haml
Normal file
4
app/views/bike_models/edit.html.haml
Normal file
@ -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
|
||||
%h1=t '.title', :default => t('helpers.titles.new', :model => model_class.model_name.human, :default => "New #{model_class.model_name.human}")
|
||||
= render :partial => "form"
|
||||
|
Loading…
x
Reference in New Issue
Block a user