{% extends 'obj_form.html' %}
{% load i18n %}


{% block subtitle %}
<ol class="breadcrumb">
        <li>{% trans '品牌效益' %}</li>
        <li>{% trans '品牌管理' %}</li>
</ol>
{% endblock %}

{% block form_content %}
<script>

    $(document).ready(function () {

        $('.btn-save').click(function () {
            $.SubmitForm('#obj_form form', '{{request.path}}',function (){
                $('.alert').fadeIn();
            });

        });
    })

</script>
<div class="alert alert-success" role="alert" style="display: none">保存成功！</div>
<div class="form-group product_photo">
    <label class="col-sm-2 control-label ">第三方公司</label>
    <div class="col-sm-8">{{ form.third_party_company }}</div>
</div>
<div class="form-group product_photo">
    <label class="col-sm-2 control-label ">品牌名称</label>
    <div class="col-sm-8">{{ form.name }}</div>
</div>
<div class="form-group product_photo">
    <label class="col-sm-2 control-label ">升级方法</label>
    <div class="col-sm-8">{{ form.level_up_method }}</div>
</div>
<div class="form-group product_photo">
    <label class="col-sm-2 control-label ">备注</label>
    <div class="col-sm-8">{{ form.remark }}</div>
</div>
<div class="form-group product_photo">
    <label class="col-sm-2 control-label ">结算周期</label>
    <div class="col-sm-8">{{ form.settle_method }}</div>
</div>
<div class="form-group ">
    <label class="col-sm-2 control-label ">是否有效</label>
    <div class="col-sm-1">
        <div>
            {{ form.is_active }}
        </div>
    </div>
</div>
<div>
    <a class="btn btn-primary btn-save" type="button" style="float:right;">保存</a>
</div>
{% endblock %}