Skip to content

Commit

Permalink
format packagelist
Browse files Browse the repository at this point in the history
  • Loading branch information
LED committed May 1, 2012
1 parent e227ae7 commit abb9ffe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/views/pages/packagelist.html.erb
Expand Up @@ -5,12 +5,12 @@
<h1>Packages</h1>
<%@package.each do |package|%>
<div id="content_wrapper">
<h3><%= package.name%></h3>
<h4><%= truncate(strip_tags(package.description),:length=>800)%> </h4>
<h3>Package Name:</h3><p><%= package.name%></p>
<h4>Package Description:</h4><p><%= truncate(strip_tags(package.description),:length=>800)%> </p>

<h3><%= package.price%></h3>
<h3>Price:</h3><p><%= package.price%></p>
<div id="colormered">
<h3><%= package.package_category.name%></h3>
<h3>Category:<%= package.package_category.name%></h3>
</div>
<div id="right_button">
<%= button_to 'add package', reservation_reservation_packages_path(:package_id => package), :class=> 'btn btn-primary'%>
Expand Down

0 comments on commit abb9ffe

Please sign in to comment.