diff --git a/app/views/bikes/_form.html.erb b/app/views/bikes/_form.html.erb
index 768dce1..528c06c 100644
--- a/app/views/bikes/_form.html.erb
+++ b/app/views/bikes/_form.html.erb
@@ -1,19 +1,23 @@
-<%= form_for @bike, html: {class: 'form-horizontal'} do |f| %>
- <% if @bike.errors.any? %>
-
-
<%= pluralize(@bike.errors.count, "error") %> prohibited this bike from being saved:
-
-
- <% @bike.errors.full_messages.each do |msg| %>
- - <%= msg %>
- <% end %>
-
+
+ <%= form_for @bike, html: {class: 'form-horizontal'} do |f| %>
+ <% if @bike.errors.any? %>
+
+
<%= pluralize(@bike.errors.count, "error") %> prohibited this bike from being saved:
+
+
+ <% @bike.errors.full_messages.each do |msg| %>
+ - <%= msg %>
+ <% end %>
+
+
+ <% end %>
+
+ <%= render 'fields', f: f %>
+
+
+
+ <%= f.submit class: "btn btn-default" %>
+
<% end %>
-
- <%= render 'fields', f: f %>
-
-
- <%= f.submit class: "btn btn-default" %>
-
-<% end %>
+
diff --git a/app/views/bikes/edit.html.erb b/app/views/bikes/edit.html.erb
index 3d9c87e..c22f2f7 100644
--- a/app/views/bikes/edit.html.erb
+++ b/app/views/bikes/edit.html.erb
@@ -1,6 +1,8 @@
-
Editing bike
-
-<%= render 'form' %>
-
-<%= link_to 'Show', @bike %> |
-<%= link_to 'Back', bikes_path %>
+
+
Editing bike
+
+ <%= render 'form' %>
+
+ <%= link_to 'Show', @bike %> |
+ <%= link_to 'Back', bikes_path %>
+
diff --git a/app/views/bikes/index.html.erb b/app/views/bikes/index.html.erb
index 0c321fe..439f151 100644
--- a/app/views/bikes/index.html.erb
+++ b/app/views/bikes/index.html.erb
@@ -1,29 +1,30 @@
-
Listing bikes
+
-
-
-
- Brand |
- Model |
- |
- |
- |
-
-
+ Listing bikes
-
- <% @bikes.each do |bike| %>
+
+
- <%= bike.brand %> |
- <%= bike.model %> |
- <%= link_to 'Show', bike %> |
- <%= link_to 'Edit', edit_bike_path(bike) %> |
- <%= link_to 'Destroy', bike, method: :delete, data: { confirm: 'Are you sure?' } %> |
+ Brand |
+ Model |
+ |
+ |
+ |
- <% end %>
-
-
-
-
-
-<%= link_to ' + Log Bike', new_bike_path %>
+
+
+ <% @bikes.each do |bike| %>
+
+ <%= bike.brand %> |
+ <%= bike.model %> |
+ <%= link_to 'Show', bike %> |
+ <%= link_to 'Edit', edit_bike_path(bike) %> |
+ <%= link_to 'Destroy', bike, method: :delete, data: { confirm: 'Are you sure?' } %> |
+
+ <% end %>
+
+
+
+
+ <%= link_to ' + Log Bike', new_bike_path, class: "btn btn-default" %>
+
diff --git a/app/views/bikes/show.html.erb b/app/views/bikes/show.html.erb
index 34d0baa..1a25cf6 100644
--- a/app/views/bikes/show.html.erb
+++ b/app/views/bikes/show.html.erb
@@ -1,7 +1,9 @@
-
<%= notice %>
-<%= form_for(@bike) do |f| %>
- <%= render 'fields', f: f, disabled: true %>
-<% end %>
-
-<%= link_to 'Edit', edit_bike_path(@bike) %> |
-<%= link_to 'Back', bikes_path %>
+
+
<%= notice %>
+ <%= form_for(@bike) do |f| %>
+ <%= render 'fields', f: f, disabled: true %>
+ <% end %>
+
+ <%= link_to 'Edit', edit_bike_path(@bike) %> |
+ <%= link_to 'Back', bikes_path %>
+