mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-08 08:19:35 +00:00
* Initial plan * Make form column layout configurable with global Twig variables Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com> * Rename form column Twig globals to shorter names: label_col, input_col, offset_col Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com> * Fixed remaining places where offsets where used * Fixed margin of delete button on admin forms * Rename Twig globals: col_label, col_input, offset_label Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com> * Added documentation to our twig class variables --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com> Co-authored-by: Jan Böhmer <mail@jan-boehmer.de>
20 lines
647 B
Twig
20 lines
647 B
Twig
{{ form_row(form.eda_info.reference_prefix) }}
|
|
{{ form_row(form.eda_info.value) }}
|
|
|
|
{{ form_row(form.eda_info.visibility) }}
|
|
|
|
<div class="row mb-2">
|
|
<div class="{{ col_input }} {{ offset_label }}">
|
|
{{ form_widget(form.eda_info.exclude_from_bom) }}
|
|
{{ form_widget(form.eda_info.exclude_from_board) }}
|
|
{{ form_widget(form.eda_info.exclude_from_sim) }}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="{{ col_input }} {{ offset_label }}">
|
|
<h6>{% trans %}eda_info.kicad_section.title{% endtrans %}:</h6>
|
|
</div>
|
|
</div>
|
|
{{ form_row(form.eda_info.kicad_symbol) }}
|
|
{{ form_row(form.eda_info.kicad_footprint) }}
|