{% extends 'obj_form.html' %}

{% block js %}
    {{ block.super }}
    $('.btn-save').click(function(){
        $.SubmitForm('#obj_form form','{{request.path}}');
    });
    $('#id_dt').datepicker({dateFormat: "yy-mm-dd"})


{% endblock %}
{% load i18n %}
    <ol class="breadcrumb">
        <li>{% trans "盘库管理" %}</li>
        <li>{% trans "盘库期设置" %}</li>
    </ol>



{% block form_content %}
    {{ block.super }}
    <div class="form-group ">
        <label class="col-sm-2 control-label ">会计期:</label>
        <div class="col-sm-10">{{ form.dt }}</div>
    </div>

    <div class="form-group ">
        <label class="col-sm-2 control-label ">备注:</label>
        <div class="col-sm-10">{{ form.remark }}</div>
    </div>


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


