mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Convert suppliers page to HAML
This commit is contained in:
@@ -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' %>
|
||||
7
app/views/spree/suppliers/show.html.haml
Normal file
7
app/views/spree/suppliers/show.html.haml
Normal file
@@ -0,0 +1,7 @@
|
||||
%h2= @supplier.name
|
||||
|
||||
.supplier-description= @supplier.long_description.andand.html_safe
|
||||
|
||||
%h3 Available Now
|
||||
|
||||
= render :template => 'spree/products/index'
|
||||
Reference in New Issue
Block a user