{% extends "bee_django_crm/base.html" %}
{% load static %}

{% block content %}
    {% include 'bee_django_crm/logo.html' %}
    {% include 'bee_django_crm/nav.html' %}
    修改{{ poster.source.name }}的海报图片参数
    <form method="post">
        {% csrf_token %}

        {{ form.as_ul }}
        {#        {% bootstrap_form form %}#}
        {#        {{ form.non_field_errors }}#}
        {#                <div>#}
        {#                    {{ form.name.errors }}#}
        {#                    {{ form.name }}#}
        {#                </div><div>#}
        {#                    {{ form.period.errors }}#}
        {#                    {{ form.period }}#}
        {#                </div>#}
        <input type="submit" value="预览并保存"  class="btn btn-default"/>
        <a href="{% url "bee_django_crm:poster_detail" poster.id %}" class="btn btn-default">返回</a>

    </form>

    预览图：<br>
    <img src="{% url "bee_django_crm:user_poster_image" poster.id '0' %}" alt="">
    <br>

{% endblock %}


{% block scripts %}
    <script>
        $(document).ready(function () {

        });


    </script>
{% endblock %}