/
home
/
obinna
/
html
/
restaurants
/
templates
/
Default
/
Upload File
HOME
{% extends 'base1.html.twig' %} {% block content %} <div class="content"> <div class="card"> <div class="card-header"> <h3>Subscription Details</h3> </div> <div class="card-body"> <table class="table"> <thead> <tr> <th>Subscription</th> <th>End Date</th> <th>Auto-Renew</th> <th>Status</th> </tr> </thead> <tbody> <form action="{{ path('pay') }}" method="POST"> <tr> <td>{{ subscription }}</td> <td>{{ expiry }}</td> <td>On</td> <td> {% if expiry == 'Expired' %} {{ 'Expired' }} <a href="{{ path('pay') }}" class="btn btn-primary">Subscribe</a> {% else %} {{ 'Active' }} {% if subscription == 'Free Trial' %} <a href="{{ path('pay') }}" class="btn btn-primary">Upgrade</a> {% endif %} {% endif %} </td> </tr> </form> </tbody> </table> </div> </div> </div> {% endblock %}