mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-01 04:10:06 -05:00
misc fixes and updates
This commit is contained in:
@@ -8,7 +8,13 @@
|
||||
|
||||
{% block content %}
|
||||
|
||||
<h3>{{ title }} {% trans 'List' %}</h3>
|
||||
<h3>{{ title }} {% trans 'List' %}
|
||||
{% if table.Meta.model|get_class == 'Category' %}
|
||||
<a href="{% url 'new_category' %}" ><i class="fal fa-plus-circle"></i></a>
|
||||
{% elif table.Meta.model|get_class == 'Keyword' %}
|
||||
<a href="{% url 'new_keyword' %}" ><i class="fal fa-plus-circle"></i></a>
|
||||
{% endif %}
|
||||
</h3>
|
||||
<br/>
|
||||
|
||||
{% if table.Meta.model|get_class == 'RecipeImport' %}
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
{% extends "base.html" %}
|
||||
{% load crispy_forms_tags %}
|
||||
{% load i18n %}
|
||||
{% load class_tag %}
|
||||
|
||||
{% block title %}{% trans 'New' %} - {{ title }}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<h3>{% trans 'New' %} {{ title }}</h3>
|
||||
<h3>{% trans 'New' %} {{ title }} </h3>
|
||||
|
||||
<form action="." method="post">
|
||||
{% csrf_token %}
|
||||
|
||||
Reference in New Issue
Block a user