a bit of localization

This commit is contained in:
vabene1111
2018-05-03 21:46:41 +02:00
parent 9713c602df
commit bc287364ac
8 changed files with 49 additions and 147 deletions

View File

@@ -6,11 +6,11 @@
{% block content %}
<h3>{% trans 'Update imported Recipes' %}</h3>
<h3>{% trans 'Imported Recipes' %}</h3>
<br>
<form action="{% url 'batch_import_all' %}" method="post">
{% csrf_token %}
<input type="submit" value="{% trans 'Auto import all' %}" class="btn btn-primary"/>
<input type="submit" value="{% trans 'import all' %}" class="btn btn-primary"/>
</form>
<br>

View File

@@ -1,6 +0,0 @@
{% extends "base.html" %}
{% load crispy_forms_tags %}
{% block content %}
{% crispy form %}
{% endblock %}

View File

@@ -6,7 +6,6 @@
{% block title %}{% trans "Cookbook" %}{% endblock %}
{% block content %}
<div class="row">
<div class="col md-12">
{% if filter %}

View File

@@ -1,22 +0,0 @@
{% extends "base.html" %}
{% load crispy_forms_tags %}
{% load i18n %}
{% load django_tables2 %}
{% block title %}{% trans 'New Category' %}{% endblock %}
{% block content %}
<h3>
{% trans 'New Category' %}
<small class="text-muted">{% trans 'New recipe Category' %}</small>
</h3>
<form method="POST" class="post-form">{% csrf_token %}
{% crispy form %}
</form>
{% if table %}
{% render_table table %}
{% endif %}
{% endblock %}

View File

@@ -1,22 +0,0 @@
{% extends "base.html" %}
{% load crispy_forms_tags %}
{% load i18n %}
{% load django_tables2 %}
{% block title %}{% trans 'New Keyword' %}{% endblock %}
{% block content %}
<h3>
{% trans 'New Keyword' %}
<small class="text-muted">{% trans 'New recipe Keyword' %}</small>
</h3>
<form method="POST" class="post-form">{% csrf_token %}
{% crispy form %}
</form>
{% if table %}
{% render_table table %}
{% endif %}
{% endblock %}

View File

@@ -1,6 +0,0 @@
{% extends "base.html" %}
{% load crispy_forms_tags %}
{% block content %}
{% crispy form %}
{% endblock %}