{% extends "base.html" %} {% from "components/ui.html" import page_header %} {% block content %} {% set breadcrumbs = [ {'text': 'Inventory', 'url': url_for('inventory.list_stock_items')}, {'text': 'Warehouses', 'url': url_for('inventory.list_warehouses')}, {'text': warehouse.name if warehouse else 'New Warehouse'} ] %} {{ page_header( icon_class='fas fa-warehouse', title_text=warehouse.name if warehouse else 'New Warehouse', subtitle_text='Create or edit warehouse' if not warehouse else 'Edit warehouse', breadcrumbs=breadcrumbs ) }}