{% extends request.is_ajax|yesno:'bajax.html,base.html' %} {% load i18n bootstrap3 %} {% block title %} {% if tarif_id == 0 %} {% trans 'Add' %} {% else %} {{ form.title.value }} {% endif %} {% endblock %} {% block breadcrumb %} {% endblock %} {% block main %}

{% if tarif_id == 0 %}{% trans 'Create' %}{% else %}{% trans 'Edit' %}{% endif %} {% trans 'tariff' %}

{% csrf_token %} {% bootstrap_form_errors form %} {% bootstrap_icon 'tag' as ic %} {% bootstrap_field form.title addon_before=ic %} {% bootstrap_icon 'comment' as ic %} {% bootstrap_field form.descr addon_before=ic %} {% bootstrap_icon 'chevron-down' as ic %} {% bootstrap_field form.speedIn addon_before=ic %} {% bootstrap_icon 'chevron-up' as ic %} {% bootstrap_field form.speedOut addon_before=ic %} {% bootstrap_icon 'usd' as ic %} {% bootstrap_field form.amount addon_before=ic %} {% bootstrap_icon 'link' as ic %} {% bootstrap_field form.calc_type addon_before=ic %} {% bootstrap_field form.is_admin %}
{% endblock %}