mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-05-10 23:22:11 +00:00
Rename form column Twig globals to shorter names: label_col, input_col, offset_col
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com>
This commit is contained in:
parent
2769772877
commit
b508d57094
28 changed files with 68 additions and 68 deletions
|
|
@ -31,8 +31,8 @@
|
|||
{{ form_row(form.status) }}
|
||||
{% if entity.id %}
|
||||
<div class="mb-2 row">
|
||||
<label class="col-form-label {{ form_label_col_class }}">{% trans %}project.edit.associated_build_part{% endtrans %}</label>
|
||||
<div class="{{ form_input_col_class }}">
|
||||
<label class="col-form-label {{ label_col }}">{% trans %}project.edit.associated_build_part{% endtrans %}</label>
|
||||
<div class="{{ input_col }}">
|
||||
{% if entity.buildPart %}
|
||||
<span class="form-control-static"><a href="{{ entity_url(entity.buildPart) }}">{{ entity.buildPart.name }}</a></span>
|
||||
{% else %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue