Browse Source

remove unnecessary home button from views

menu-feature
Brigitte Warner 10 years ago
parent
commit
1862f5dbc1
  1. 2
      app/views/bikes/new.html.haml
  2. 2
      app/views/bikes/show.html.haml
  3. 2
      app/views/task_lists/edit.haml
  4. 2
      app/views/time_entries/index.haml
  5. 2
      app/views/time_entries/new.haml

2
app/views/bikes/new.html.haml

@ -1,5 +1,3 @@
%a{ class: "btn btn-default btn-lg", href: root_path}
%span{ class:"icon-home"}
%h2 Add Bike
%p

2
app/views/bikes/show.html.haml

@ -2,8 +2,6 @@
%p
%a{class: "btn btn-lg btn-block btn-info", href: new_bike_path} Add Another Bike?
%a{ class: "btn btn-default btn-lg", href: root_path}
%span{ class:"icon-home"}
%h2 #{@bike.shop_id}: #{@bike.bike_brand}
%h2 #{@bike.model}

2
app/views/task_lists/edit.haml

@ -1,5 +1,3 @@
%a{ class: "btn btn-default btn-lg", href: root_path}
%span{ class:"icon-home"}
%h2 Task List
%h3
%a{ href: bike_path(@task_list.item)}#{@task_list.item.shop_id} #{@task_list.item.bike_brand}

2
app/views/time_entries/index.haml

@ -1,5 +1,3 @@
%a{ class: "btn btn-default btn-lg", href: root_path}
%span{ class:"icon-home"}
%h2 Your Timesheet
%dl.dl-horizontal

2
app/views/time_entries/new.haml

@ -1,5 +1,3 @@
%a{ class: "btn btn-default btn-lg", href: root_path}
%span{ class:"icon-home"}
%h2 Add Time Entry
%p

Loading…
Cancel
Save