mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-03 09:44:41 +02:00
Use symfonys included bootstrap 5 forms styling
This commit is contained in:
parent
29fb59c76e
commit
017170e2d6
2 changed files with 8 additions and 2 deletions
|
@ -1,4 +1,10 @@
|
|||
{% extends 'bootstrap_4_horizontal_layout.html.twig' %}
|
||||
{% extends 'bootstrap_5_horizontal_layout.html.twig' %}
|
||||
|
||||
{# Make form rows smaller #}
|
||||
{% block form_row -%}
|
||||
{%- set row_attr = row_attr|merge({"class": "mb-2"}) -%}
|
||||
{{- parent() -}}
|
||||
{%- endblock form_row %}
|
||||
|
||||
{% block file_widget -%}
|
||||
{%- set type = type|default('file') -%}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue