added populate methodes to froms.py that reduces the amount of different forms by 50%. you can use populate_for_add, populate_for_update and so on as eneccesery. and ythis alos you to not populate anything on routes.py
parent
64cf31f939
commit
766f850d98
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
After Width: | Height: | Size: 4.0 KiB |
@ -0,0 +1,31 @@
|
||||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
|
||||
<div class="container-fluid rounded-5 mt-5 mb-5" style="{{ theme.form.div_style }};">
|
||||
<div class="row">
|
||||
<div class="col-md-3 border-right">
|
||||
<div class="d-flex flex-column align-items-center text-center p-3 py-5">
|
||||
<img class="rounded-circle mt-4 border-info" width="150px" src="{{ accountInfo.image_file }}">
|
||||
<h2 class="account-heading" style="color: {{ theme.orange }};">{{ accountInfo.title }}</h2>
|
||||
<h3 class="account-heading" style="color: {{ theme.orange }};">{{ accountInfo.description }}</h2>
|
||||
<h5 class="account-heading" style="color: {{ theme.light_blue }};">{{ accountInfo.short }}</h5>
|
||||
<div class="p-3 py-5">
|
||||
<h4 class="account-heading" style="color: {{ theme.yellow }};">{{ accountInfo.status }}</h4>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<div class="p-3 py-4">
|
||||
{% include 'form.html' %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<div class="p-3 py-4">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock content %}
|
||||
|
||||
|
Loading…
Reference in new issue