weblate/html/edit_dictionary.html
2012-03-30 14:48:50 +02:00

25 lines
662 B
HTML
Vendored

{% extends "base.html" %}
{% load i18n %}
{% load url from future %}
{% block breadcums %}
<li><a href="{{ project.get_absolute_url }}">{{ project }}</a></li>
<li><a href="{% url 'trans.views.show_dictionaries' project=project.slug %}">{% trans "dictionaries" %}</a></li>
<li><a href="{% url 'trans.views.show_dictionary' project=project.slug lang=language.code %}">{{ language }}</a></li>
{% endblock %}
{% block content %}
{% if perms.trans.add_dictionary %}
<h2>{% trans "Change word" %}</h2>
<form method="POST">
{% csrf_token %}
<table>
{{ form.as_table }}
</table>
<input type="submit" value="{% trans "Save" %}" />
</form>
{% endif %}
{% endblock %}