##// END OF EJS Templates
comment missing views...
comment missing views git-svn-id: http://jro-dev.igp.gob.pe/svn/jro_hard/radarsys/trunk/webapp@196 aa17d016-51d5-4e8b-934c-7b2bbb1bbe71

File last commit:

r96:77a52f31fce2
r173:63992b89a422
Show More
base_edit.html
35 lines | 1.1 KiB | text/html | HtmlDjangoLexer
{% extends "base.html" %}
{% load bootstrap3 %}
{% load static %}
{% load main_tags %}
{% block content-title %}{{title}}{% endblock %}
{% block content-suptitle %}{{suptitle}}{% endblock %}
{% block content %}
{% if form.is_multipart %}
<form class="form" enctype="multipart/form-data" method="post" action="{{action}}">
{% else %}
<form class="form" method="post" action="{{action}}">
{% endif %}
{% csrf_token %}
{% bootstrap_form form layout='horizontal' size='medium' %}
<div style="clear: both;"></div>
<br>
{% if extra_button %}
<div class="pull-left">
<button type="button" class="btn btn-primary" id="bt_{{extra_button}}">{{extra_button}}</button>
</div>
{% endif %}
{% if button %}
<div class="pull-right">
<button type="button" class="btn btn-primary" onclick="{% if previous %}window.location.replace('{{ previous }}');{% else %}history.go(-1);{% endif %}">{% if cancel %}{{cancel}}{% else %}Cancel{% endif %}</button>
<button type="submit" class="btn btn-primary">{{button}}</button>
</div>
{% endif %}
</form>
{% endblock %}
{% block sidebar%}
{% include "sidebar_devices.html" %}
{% endblock %}