{% extends 'layouts/layout_base.html' %}

{% load url from future %}

<script type="text/javascript" src="/static/js/bugzilla-template.js"></script>

{% block body_content %}
<div class="panel panel-default">
    <div class="panel-heading"><i class="glyphicon glyphicon-list-alt"></i> Template</div>
    <form action="{% url 'crashmanager:viewtemplate' provider template.pk %}" method="post">
        {% csrf_token %}
        <select id="template" name="template">
            {% for t in templates %}
            <option value="{{ t.pk }}" {% if t.pk== template.pk %}selected="selected" {% endif %}>{{ t.name }}</option>
            {% endfor %}
        </select>

        <div class="field">
            <label for="id_name">Template Name:</label>
            <input id="id_name" maxlength="255" name="name" type="text" value="{{ template.name }}">
        </div>
        {% include "bugzilla/form.html" %}
        <input type="submit" name="submit_save" value="Save"/>
    </form>
    </div>
</div>
{% endblock body_content %}

{% extends 'layouts/layout_base.html' %}

{% load url from future %}

<script type="text/javascript" src="/static/js/bugzilla-template.js"></script>

{% block body_content %}
<div class="panel panel-default">
    <div class="panel-heading"><i class="glyphicon glyphicon-list-alt"></i> Template</div>
    <form action="{% url 'crashmanager:viewtemplate' provider template.pk %}" method="post">
        {% csrf_token %}
        <select id="template" name="template">
            {% for t in templates %}
            <option value="{{ t.pk }}" {% if t.pk == template.pk %}selected="selected" {% endif %}>{{ t.name }}</option>
            {% endfor %}
        </select>

        <div class="field">
            <label for="id_name">Template Name:</label>
            <input id="id_name" maxlength="255" name="name" type="text" value="{{ template.name }}">
        </div>
        {% include "bugzilla/form.html" %}
        <input type="submit" name="submit_save" value="Save"/>
    </form>
    </div>
</div>
{% endblock body_content %}

Fix a typo in the bugzilla view/edit template
Fix a typo in the bugzilla view/edit template
