26 lines
1.2 KiB
HTML
26 lines
1.2 KiB
HTML
{% extends 'base.html' %}
|
|
{% from 'macros.html' import render_selectable_table, render_pagination %}
|
|
|
|
{% block title %}Tenant Makes{% endblock %}
|
|
|
|
{% block content_title %}Tenant Makes{% endblock %}
|
|
{% block content_description %}View Tenant Makes for Tenant{% endblock %}
|
|
{% block content_class %}<div class="col-xl-12 col-lg-5 col-md-7 mx-auto"></div>{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="container">
|
|
<form method="POST" action="{{ url_for('user_bp.handle_tenant_make_selection') }}" id="tenantMakesForm">
|
|
{{ render_selectable_table(headers=["Tenant Make ID", "Name", "Website", "Active"], rows=rows, selectable=True, id="tenantMakesTable") }}
|
|
<div class="form-group mt-3 d-flex justify-content-between">
|
|
<div>
|
|
<button type="submit" name="action" value="edit_tenant_make" class="btn btn-primary" onclick="return validateTableSelection('tenantMakesForm')">Edit Tenant Make</button>
|
|
</div>
|
|
<button type="submit" name="action" value="create_tenant_make" class="btn btn-success">Register Tenant Make</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
{% endblock %}
|
|
|
|
{% block content_footer %}
|
|
{{ render_pagination(pagination, "user_bp.tenant_makes") }}
|
|
{% endblock %} |