Files
recipes/cookbook/templates/generic/model_template.html
smilerz d1556f69c2 WIP
2021-09-05 11:17:28 -05:00

30 lines
740 B
HTML

{% extends "base.html" %}
{% load render_bundle from webpack_loader %}
{% load static %}
{% load i18n %}
{% comment %} {% load l10n %} {% endcomment %}
{% block title %}{{ title }}{% endblock %}
{% block content_fluid %}
<div id="app" >
<food-list-view></food-list-view>
</div>
{% endblock %}
{% block script %}
{% comment %} {% if debug %}
<script src="{% url 'js_reverse' %}"></script>
{% else %}
<script src="{% static 'django_js_reverse/reverse.js' %}"></script>
{% endif %} {% endcomment %}
<script type="application/javascript">
window.IMAGE_PLACEHOLDER = "{% static 'assets/recipe_no_image.svg' %}"
</script>
{% render_bundle 'model_list_view' %}
{% endblock %}