summaryrefslogtreecommitdiff
path: root/django-nova/src/django_nova/templates/django_nova/images/edit.html
blob: 800cfbb3c9ccc2529dad9cbba5b49b8c27fbb510 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{% extends "django_nova/images/base.html" %}

{% block title %} - Cloud Computing{% endblock %}

{% block headerjs %}
<script type="text/javascript" src="{{ COMMON_MEDIA_PREFIX }}js/jquery.form.js"></script>
{% endblock %}

{% block content %}
<div id="right_content">
  <div id="page_head">
    <h2 id="page_heading">Edit Image</h2>
    <p id="page_description">From this page you can edit the name and description of an image that belongs to you.</p>
  </div>

  <div class="dash_block first">
    <h3 class="image_id">Edit Image: {{ ami.id }}</h3>

    <form class="edit_image" id="rename_{{ ami.id }}" action="{% url nova_images_update project.projectname ami.id %}" method="post">
      <fieldset>
        {% csrf_token %}
        {% for field in form %}

          {{ field.label_tag }}
          {% if field.errors %}{{ field.errors }}{% endif %}
          {{ field }}
        {% endfor %}
        <input type="submit" value="Update Image" />
      </fieldset>
    </form>

  </div>
</div>

{% endblock %}