{% extends 'base.html' %} {% load static %} {% load appfilter %} {% load widget_tweaks %} {% block body %}

افزودن {{ model_name }}

{% csrf_token %}
{% include 'component/image-field.html' with label='تصویر' field=form.picture default_image='/static/assets/media/image.png' holder_img_class='rounded' image_field_hover_class='rounded-lg' holder_class='rounded-lg' image_field_class='rounded-lg' %}
{% include 'component/input.html' with md=6 input=form.title extra_class='mb-1' %} {% include 'component/input.html' with md=6 input=form.categories extra_class='mb-1' %}
{% render_field form.short rows="4" %}
{% include 'component/input.html' with md=12 input=form.description %}
{% include 'component/input.html' with md=12 input=form.pre_title %}
در صورت عدم افزودن تصویر اسلایدر، تصویر خبر به عنوان تصویر اسلایدر قرار می گیرد.
{% include 'component/input.html' with md=6 input=form.slider_title %} {% include 'component/input.html' with md=6 input=form.slider_picture %}
{% include 'component/input.html' with md=12 input=form.breaking_title %}
{% include 'component/input.html' with md=12 input=form.is_recommend checkbox_show=1 %}
{% include 'component/input.html' with md=6 input=form.source_title %} {% include 'component/input.html' with md=6 input=form.source_link %}
{% include 'component/input.html' with md=12 input=form.slug %}

{% include 'component/seo-fields.html' %}
{% endblock %} {% block script %} {% endblock %}