Apply header component to all pages
This commit is contained in:
@@ -1,8 +1,15 @@
|
||||
{% extends "common/base.html" %}
|
||||
{% from "components/header.html" import header %}
|
||||
|
||||
{% block title %}Contacts - DocuPulse{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h2>Contacts</h2>
|
||||
{{ header(
|
||||
title="Contacts",
|
||||
description="Manage your contacts and their information",
|
||||
button_text="Add Contact",
|
||||
button_url="/contacts/new",
|
||||
icon="fa-address-book"
|
||||
) }}
|
||||
<p class="text-muted">Your contacts will appear here.</p>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user