layerindex-web/templates/layerindex/bulkchangeedit.html
Paul Eggleton 517424dc81 Upgrade to Bootstrap 3
Use a more modern version of Bootstrap and take the opportunity to
upgrade jQuery to the latest version at the same time. This provides
better browser compatibility, moves to MIT license, allows us to make
the site more responsive for different devices in future, and provides
theming capabilities for custom installs among other improvements.

(I chose to upgrade to v3 for now rather than straight to v4 as it was
easier to do this gradually.)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2018-09-20 15:57:59 +12:00

58 lines
1.5 KiB
HTML

{% extends "base.html" %}
{% load i18n %}
{% comment %}
layerindex-web - bulk change edit page template
Copyright (C) 2013 Intel Corporation
Licensed under the MIT license, see COPYING.MIT for details
{% endcomment %}
<!--
{% block title_append %} - bulk change{% endblock %}
-->
{% block content %}
{% autoescape on %}
<h2>Edit recipe fields</h2>
<form method="POST">
{{ formset.non_form_errors }}
{{ formset.management_form }}
{% csrf_token %}
{% for form in formset %}
{% for hidden in form.hidden_fields %}
{{ hidden }}
{% endfor %}
<h3>{{ form.instance.recipe.filename }}</h3>
{% for field in form.visible_fields %}
{% if field.errors %}
<div class="form-group alert alert-danger">
{{ field.errors }}
{% endif %}
<div class="form-group formfields">
<div class="control-label">
{{ field.label_tag }}
</div>
<div class="controls">
{{ field }}
<span class="help-block custom-help">
{{ field.help_text }}
</span>
</div>
</div>
{% if field.errors %}
</div>
{% endif %}
{% endfor %}
{% endfor %}
<input type="submit" class="btn btn-default" name="save" value="Save"></input>
</form>
{% endautoescape %}
{% endblock %}