diff --git a/app/views/bike_models/edit.html.haml b/app/views/bike_models/edit.html.haml new file mode 100644 index 0000000..239a216 --- /dev/null +++ b/app/views/bike_models/edit.html.haml @@ -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" diff --git a/app/views/bike_models/new.html.haml b/app/views/bike_models/new.html.haml index bb5ebd9..d04edfe 100644 --- a/app/views/bike_models/new.html.haml +++ b/app/views/bike_models/new.html.haml @@ -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"