label and tabulator fixes

This commit is contained in:
Kaibu 2019-11-19 21:13:49 +01:00
parent 78157cb359
commit ba2f1458af

View File

@ -25,7 +25,7 @@
{{ field|as_crispy_field }}
</div>
{% if field.name == 'name' %}
{% trans 'Ingredients' %}
<label>{% trans 'Ingredients' %}</label>
<div id="ingredients-table"></div>
<br>
<div class="table-controls">
@ -63,6 +63,8 @@
layout: "fitColumns",
reactiveData: true,
data: data,
movableRows: true,
headerSort: false,
columns: [
{
title: "{% trans 'Ingredient' %}",