1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

36 lines
1.1 KiB
HTML
Raw Normal View History

2021-04-13 21:51:12 -07:00
{% extends 'generic/object_edit.html' %}
2018-11-02 14:42:15 -04:00
{% load static %}
{% load form_helpers %}
{% load i18n %}
2021-04-13 21:51:12 -07:00
{% render_errors form %}
{% block title %}
{% blocktrans trimmed %}
Add Device to Cluster {{ cluster }}
{% endblocktrans %}
{% endblock %}
2021-04-13 21:51:12 -07:00
{% block content %}
2021-04-13 21:51:12 -07:00
<form action="." method="post">
{% csrf_token %}
{% for field in form.hidden_fields %}
{{ field }}
{% endfor %}
<div class="row">
2021-04-30 15:55:37 -07:00
<div class="col col-md-6 offset-md-3">
2021-04-13 21:51:12 -07:00
<div class="field-group">
<h5 class="text-center">{% trans "Device Selection" %}</h5>
2021-04-13 21:51:12 -07:00
{% render_form form %}
</div>
</div>
</div>
<div class="row">
2021-04-30 15:55:37 -07:00
<div class="col col-md-6 offset-md-3 text-end noprint">
<a href="{{ return_url }}" class="btn btn-outline-danger">{% trans "Cancel" %}</a>
<button type="submit" name="_add" class="btn btn-primary">{% trans "Add Devices" %}</button>
</div>
</div>
</form>
{% endblock %}