diff --git a/templates/edit.html b/templates/edit.html
index ff686ca..a1e0475 100644
--- a/templates/edit.html
+++ b/templates/edit.html
@@ -1,90 +1,91 @@
{% extends "base.html" %}
{% macro lexeme_form_link(wiki, lexeme_id, form) -%}
{% for representation in form.representations.values() -%}
{{ representation | term_span }}
{%- if not loop.last %}/{% endif -%}
{%- endfor %}
({{ form.id }})
{%- endmacro %}
{% macro lexeme_form_list_item(wiki, lexeme_id, form) %}
{{ message_with_kwargs( 'edit_form_list_item',
form_link=lexeme_form_link(wiki, lexeme_id, form),
grammatical_feature_labels=form.grammaticalFeatures_labels | map('term_span') if form.grammaticalFeatures_labels else [message( 'no_grammatical_features' )],
statements=form.get('claims', {}) | length ) | safe }}
{% endmacro %}
{% block head %}
{{ super() }}
{% endblock %}
{% block main_tag_attributes %}{{ super() }} lang="{{ template.language_code }}" dir="{{ template.language_code | text_direction }}"{% endblock main_tag_attributes %}
{% block main %}
{{ template.label }}
{% if not lexeme_matches_template %}
{{ message( 'edit_mismatch_warning' ) }}
{% endif %}
{{ message( 'edit_general' ) }}
{% if csrf_error %}
{{ message( 'csrf_warning' ) }}
{% endif %}
{% if template.ambiguous_lexeme_forms %}
{{ message_with_kwargs( 'edit_ambiguous_warning', forms=template.ambiguous_lexeme_forms | length ) }}
{% for lexeme_form in template.ambiguous_lexeme_forms %}
{{ lexeme_form_list_item('test' if template.test else 'www', template.lexeme_id, lexeme_form) }}
{% endfor %}
{% endif %}
{% if template.unmatched_lexeme_forms %}
{{ message_with_kwargs( 'edit_unmatched_warning', forms=template.unmatched_lexeme_forms | length ) }}
{% for lexeme_form in template.unmatched_lexeme_forms %}
{{ lexeme_form_list_item('test' if template.test else 'www', template.lexeme_id, lexeme_form) }}
{% endfor %}
{% endif %}
{% endblock main %}
diff --git a/templates/template.html b/templates/template.html
index d393ec7..2dcb338 100644
--- a/templates/template.html
+++ b/templates/template.html
@@ -1,70 +1,71 @@
{% extends "base.html" %}
{% block head %}
{{ super() }}
{% endblock %}
{% block main_tag_attributes %}{{ super() }} lang="{{ template.language_code }}" dir="{{ template.language_code | text_direction }}" data-template='{{ template | tojson }}'{% endblock main_tag_attributes %}
{% block main %}
{{ template.label }}
{% if advanced %}
{{ message( 'advanced_general' ) }}
- {{ message( 'advanced_lexeme_id' ) }}
- {{ message( 'advanced_partial_forms' ) }}
{% endif %}
{% if csrf_error %}
{{ message( 'csrf_warning' ) }}
{% endif %}
{{ duplicates | render_duplicates(template.language_code, actionable=True) | safe }}
{% endblock main %}