label and tabulator fixes
This commit is contained in:
parent
78157cb359
commit
ba2f1458af
@ -25,7 +25,7 @@
|
|||||||
{{ field|as_crispy_field }}
|
{{ field|as_crispy_field }}
|
||||||
</div>
|
</div>
|
||||||
{% if field.name == 'name' %}
|
{% if field.name == 'name' %}
|
||||||
{% trans 'Ingredients' %}
|
<label>{% trans 'Ingredients' %}</label>
|
||||||
<div id="ingredients-table"></div>
|
<div id="ingredients-table"></div>
|
||||||
<br>
|
<br>
|
||||||
<div class="table-controls">
|
<div class="table-controls">
|
||||||
@ -63,6 +63,8 @@
|
|||||||
layout: "fitColumns",
|
layout: "fitColumns",
|
||||||
reactiveData: true,
|
reactiveData: true,
|
||||||
data: data,
|
data: data,
|
||||||
|
movableRows: true,
|
||||||
|
headerSort: false,
|
||||||
columns: [
|
columns: [
|
||||||
{
|
{
|
||||||
title: "{% trans 'Ingredient' %}",
|
title: "{% trans 'Ingredient' %}",
|
||||||
|
Loading…
Reference in New Issue
Block a user