22 lines
639 B
Plaintext
22 lines
639 B
Plaintext
% use MyRedland::Products;
|
|
% use Mojo::Util qw/xml_escape/;
|
|
%
|
|
% title 'Opciones de subscripción - Redland Official';
|
|
% layout 'side_menu';
|
|
% my $products_dao = MyRedland::Products->new;
|
|
% my $products = $products_dao->all;
|
|
|
|
<div class="description">
|
|
<h2>Opciones de subscripción.</h2>
|
|
<div class="subscription-options">
|
|
% for my $product (@$products) {
|
|
<div class="product">
|
|
<p class="product-price"><%=$product->price/100%>€</p>
|
|
<p><%=$product->name%></p>
|
|
<p><%=$product->description%></p>
|
|
<a class="subscribe-button" href="/perfil/subscribirse?product=<%=$product->id%>">Subscribirse.</a>
|
|
</div>
|
|
% }
|
|
</div>
|
|
</div>
|