forked from mirror/Part-DB.Part-DB-server
Hide the custom type input field if not needed to improve the UX
This commit is contained in:
parent
7f612bc371
commit
c8bd800b9f
4 changed files with 60 additions and 1 deletions
|
@ -189,7 +189,9 @@
|
|||
{% import 'components/collection_type.macro.html.twig' as collection %}
|
||||
<tr>
|
||||
<td>
|
||||
{{ form_widget(form) }}
|
||||
<div {{ stimulus_controller('pages/association_edit_type_select') }}>
|
||||
{{ form_widget(form) }}
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<button type="button" class="btn btn-danger lot_btn_delete" {{ collection.delete_btn() }}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue