-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes #3310: Pre-select site/rack for B side when creating a new cable
- Loading branch information
1 parent
b7dea5a
commit f826e15
Showing
6 changed files
with
42 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,5 @@ | ||
{% extends 'utilities/obj_edit.html' %} | ||
{% load form_helpers %} | ||
|
||
{% block form %} | ||
<div class="panel panel-default"> | ||
<div class="panel-heading"><strong>Cable</strong></div> | ||
<div class="panel-body"> | ||
{% render_field form.type %} | ||
{% render_field form.status %} | ||
{% render_field form.label %} | ||
{% render_field form.color %} | ||
<div class="form-group"> | ||
<label class="col-md-3 control-label" for="id_length">{{ form.length.label }}</label> | ||
<div class="col-md-6"> | ||
{{ form.length }} | ||
</div> | ||
<div class="col-md-3"> | ||
{{ form.length_unit }} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
{% include 'dcim/inc/cable_form.html' %} | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{% load form_helpers %} | ||
<div class="panel panel-default"> | ||
<div class="panel-heading"><strong>Cable</strong></div> | ||
<div class="panel-body"> | ||
{% render_field form.status %} | ||
{% render_field form.type %} | ||
{% render_field form.label %} | ||
{% render_field form.color %} | ||
<div class="form-group"> | ||
<label class="col-md-3 control-label" for="id_length">{{ form.length.label }}</label> | ||
<div class="col-md-5"> | ||
{{ form.length }} | ||
</div> | ||
<div class="col-md-4"> | ||
{{ form.length_unit }} | ||
</div> | ||
</div> | ||
</div> | ||
</div> |