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

{% block css %}
    {{ block.super }}    
   
{% endblock %}



{% block js %}
    {{ block.super }}
    $('.btn-save').click(function(){
        $.SubmitForm('#obj_form form','{{request.path}}');
    });
   
{% endblock %}

 
{% block subtitle-1 %}
    {% trans '激活历史' %}
{% endblock %}
{% block subtitle-2 %}
    {% trans '激活历史' %}
{% endblock %}   

    


{% block form_content %}
    {{ block.super }}
    
    <div class="form-group ">
        <label class="col-sm-2 control-label ">{% trans '经销商:' %} </label>
        <div class="col-sm-10">{{ form.agent }}</div>
    </div>   
    <div class="form-group ">
        <label class="col-sm-2 control-label ">{% trans '变更原因:' %} </label>
        <div class="col-sm-10">{{ form.reason }}</div>
    </div>      
    <div class="form-group ">
        <label class="col-sm-2 control-label ">{% trans '产品:' %} </label>
        <div class="col-sm-10">{{ form.product }}</div>
    </div>   
    <div class="form-group ">
        <label class="col-sm-2 control-label ">{% trans '数量 (增加为正,减少为负):' %} </label>
        <div class="col-sm-10">{{ form.amount }}</div>
    </div>   

    <div>
        <a class="btn btn-primary btn-save" type="submit" style="float:right;">{% trans '保存' %}</a>
    </div>

{% endblock %}
