mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-03 09:44:41 +02:00
Show part name hint in edit page and default description and comment settings of a category now properly works
This fixes issue #196
This commit is contained in:
parent
f2239e99d1
commit
58105575d3
4 changed files with 20 additions and 2 deletions
|
@ -1,4 +1,11 @@
|
|||
{{ form_row(form.name) }}
|
||||
{% if part.category is not null and part.category.partnameHint is not empty %}
|
||||
<div class="row">
|
||||
<div class="col-sm-9 offset-sm-3">
|
||||
<p class="text-muted"><b>{% trans %}part.edit.name.category_hint{% endtrans %}:</b> {{ part.category.partnameHint }}</p>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{{ form_row(form.description) }}
|
||||
{{ form_row(form.category) }}
|
||||
{{ form_row(form.tags) }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue