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

Introduced DeviceComponentCreateView

This commit is contained in:
Jeremy Stretch
2016-12-21 15:26:56 -05:00
parent 37b2ff02e7
commit 7b06f5e9fc
4 changed files with 549 additions and 688 deletions

View File

@@ -3,7 +3,7 @@
{% block title %}Create {{ component_type }} ({{ device }}){% endblock %}
{% block content %}
{% block content %}{{ form.errors }}
<form action="." method="post" class="form form-horizontal">
{% csrf_token %}
<div class="row">
@@ -18,7 +18,7 @@
{% endif %}
<div class="panel panel-default">
<div class="panel-heading">
<strong>{{ component_type }}</strong>
<strong>{{ component_type|title }}</strong>
</div>
<div class="panel-body">
<div class="form-group">