27 lines
923 B
HTML
Executable File
27 lines
923 B
HTML
Executable File
{% extends "horizon/common/_modal_form.html" %}
|
|
{% load i18n %}
|
|
|
|
{% block form_id %}edit_host_form{% endblock %}
|
|
{% block form_action %}{% url 'horizon:admin:inventory:update' host_id %}{% endblock %}
|
|
|
|
{% block modal_id %}edit_host_modal{% endblock %}
|
|
{% block modal-header %}{% trans "Edit Host" %}{% endblock %}
|
|
|
|
{% block modal-body %}
|
|
<div class="left">
|
|
<fieldset>
|
|
{% include "horizon/common/_form_fields.html" %}
|
|
</fieldset>
|
|
</div>
|
|
<div class="right">
|
|
<h3>{% trans "Description" %}:</h3>
|
|
<p>{% trans "From here you can update the configuration of the current host." %}</p>
|
|
<p>{% trans "Note: this will not affect the resources allocated to any existing instances using this host." %}</p>
|
|
</div>
|
|
{% endblock %}
|
|
|
|
{% block modal-footer %}
|
|
<a class="btn btn-default cancel" data-dismiss="modal">Cancel</a>
|
|
<input class="btn btn-primary pull-right" type="submit" value="{% trans "Save" %}" />
|
|
{% endblock %}
|