check
This commit is contained in:
22
templates/proc/store.html.ep
Executable file
22
templates/proc/store.html.ep
Executable file
@@ -0,0 +1,22 @@
|
||||
% stash css=>["/home/store/shop.css"];
|
||||
<section class="shop">
|
||||
<article class="heading"> <p class="heading">TIENDA VIRTUAL</p> </article>
|
||||
% for (@$r){
|
||||
<a href="/storep/<%= $_->{id} %>">
|
||||
<article class="shop flex">
|
||||
<div class="simage" > <img src=<%= "$controller/$action/img/$_->{imagen} "%> ></div>
|
||||
<div class="description">
|
||||
<p class="title"> <%= $_->{objeto} %> </p>
|
||||
<p class="description"> <%= $_->{nombre} %> </p>
|
||||
% if ( $_->{precio} != -1){
|
||||
<p class="price"> $<%= $_->{precio} %> pesos </p>
|
||||
%}
|
||||
<p class="options"> <%= $_->{subnombre} %> </p>
|
||||
<p class="promo"> <%= $_->{promocion} %> </p>
|
||||
</div>
|
||||
</article>
|
||||
</a>
|
||||
<article class="separator"></article>
|
||||
%}
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user