Commit c7ad66302e08fa42824836cb92dbda29b6ca2f6c

Authored by Dorota Komosińska
1 parent 48c2cada

Wyświetlanie opisów atrybutów a nie nazw w nagłówkach kolumn w edycji szablonów.

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>
... ...