refactor: content inner header as template to be reusable
This commit is contained in:
10
app/templates/layout/inner_header.html
Normal file
10
app/templates/layout/inner_header.html
Normal file
@@ -0,0 +1,10 @@
|
||||
{% macro inner_header(title) %}
|
||||
<div class="row">
|
||||
{% include 'message.html' %}
|
||||
<div class="col-2 inner-header-logo">
|
||||
</div>
|
||||
<div class="col-10 gx-md-4 gx-0">
|
||||
<h1 class="inner-header-title">{{title}}</h1>
|
||||
</div>
|
||||
</div>
|
||||
{% endmacro %}
|
||||
Reference in New Issue
Block a user