Commit c7ad66302e08fa42824836cb92dbda29b6ca2f6c
1 parent
48c2cada
Wyświetlanie opisów atrybutów a nie nazw w nagłówkach kolumn w edycji szablonów.
Showing
1 changed file
with
2 additions
and
2 deletions
management/templates/table_edit_form.html
... | ... | @@ -23,7 +23,7 @@ |
23 | 23 | <th>{% trans 'genders' %}</th> |
24 | 24 | {% endif %} |
25 | 25 | {% for attr in template_attrs %} |
26 | - <th>{{ attr.name }}</th> | |
26 | + <th>{{ attr.multilingual_name.translation }}</th> | |
27 | 27 | {% endfor %} |
28 | 28 | </tr> |
29 | 29 | </thead> |
... | ... | @@ -32,4 +32,4 @@ |
32 | 32 | {% endfor %} |
33 | 33 | </table> |
34 | 34 | <button type="button" id="save-template">{% trans 'Save' %}</button> |
35 | -<button type="button" id="cancel">{% trans 'Cancel' %}</button> | |
36 | 35 | \ No newline at end of file |
36 | +<button type="button" id="cancel">{% trans 'Cancel' %}</button> | |
... | ... |