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

Fixes #2698: Remove pagination restriction on bulk component creation for devices/VMs

This commit is contained in:
Jeremy Stretch
2018-12-19 10:59:12 -05:00
parent 68cb8b6895
commit aca57ec281
5 changed files with 19 additions and 6 deletions

View File

@@ -2,7 +2,8 @@
{% load form_helpers %}
{% block content %}
<h1>Add {{ component_name|title }}</h1>
<h1>{% block title %}Add {{ model_name|title }}{% endblock %}</h1>
<p>{{ table.rows|length }} {{ parent_model_name }} selected</p>
<form action="." method="post" class="form form-horizontal">
{% csrf_token %}
{% if request.POST.return_url %}
@@ -27,7 +28,7 @@
</div>
{% endif %}
<div class="panel panel-default">
<div class="panel-heading"><strong>{{ component_name|title }} to Add</strong></div>
<div class="panel-heading"><strong>{{ model_name|title }} to Add</strong></div>
<div class="panel-body">
{% for field in form.visible_fields %}
{% render_field field %}