Validate that a parts name fullfills the regular expression set in a category

This commit is contained in:
Jan Böhmer 2023-01-28 21:36:19 +01:00
parent 58105575d3
commit 22950f2476
5 changed files with 40 additions and 1 deletions

View file

@ -2,7 +2,7 @@
{% 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>
<p class="form-text help-text"><b>{% trans %}part.edit.name.category_hint{% endtrans %}:</b> {{ part.category.partnameHint }}</p>
</div>
</div>
{% endif %}