jipie
This commit is contained in:
parent
86dc3b010b
commit
7897621621
5 changed files with 145 additions and 1 deletions
|
@ -37,13 +37,19 @@
|
|||
{{ form_widget(drinkTypeForm.name) }}
|
||||
</td>
|
||||
<td>
|
||||
lol
|
||||
<button class="btn btn-sm btn-info"
|
||||
hx-get="{{ path('app_drink_type_history_chart', {'id': drinkTypeForm.vars.value.id}) }}"
|
||||
hx-target="#history-row-{{ drinkTypeForm.vars.value.id }}"
|
||||
hx-swap="outerHTML"
|
||||
type="button"
|
||||
>📊 Show History</button>
|
||||
</td>
|
||||
<td>
|
||||
{{ form_widget(drinkTypeForm.wantedStock) }}
|
||||
{{ form_errors(drinkTypeForm.wantedStock) }}
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="history-row-{{ drinkTypeForm.vars.value.id }}" style="display: none;" class="history-row"></tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue