Convert suppliers page to HAML

This commit is contained in:
Rohan Mitchell
2012-10-11 10:09:43 +11:00
parent 7432cb416e
commit 3889545f2b
2 changed files with 7 additions and 7 deletions

View File

@@ -1,7 +0,0 @@
<h2><%= @supplier.name %></h2>
<div class="supplier-description"><%= @supplier.long_description.andand.html_safe %></div>
<h3>Available Now</h3>
<%= render :template => 'spree/products/index' %>

View File

@@ -0,0 +1,7 @@
%h2= @supplier.name
.supplier-description= @supplier.long_description.andand.html_safe
%h3 Available Now
= render :template => 'spree/products/index'