mirror of
				https://github.com/netbox-community/netbox.git
				synced 2024-05-10 07:54:54 +00:00 
			
		
		
		
	* Clean up & comment base templates * Clean up login template & form * Use SVG file for NetBox logo * Simplify breadcrumbs * Merge changelog.html into home.html * Rename title_container block to header * Move breadcrumbs block to object.html * Attach names to endblock template tags * Reorganize root-level templates into base/ and inc/ * Remove obsolete reference to Bootstrap 3.4.1
		
			
				
	
	
		
			29 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
{% extends 'base/layout.html' %}
 | 
						|
{% load form_helpers %}
 | 
						|
 | 
						|
{% block title %}Add New Member to Virtual Chassis {{ virtual_chassis }}{% endblock %}
 | 
						|
 | 
						|
{% block content %}
 | 
						|
    <form action="" method="post" enctype="multipart/form-data" class="form form-horizontal">
 | 
						|
        {% csrf_token %}
 | 
						|
        <div class="row mb-3">
 | 
						|
            <div class="col col-md-6">
 | 
						|
                <div class="card">
 | 
						|
                    <h5 class="card-header">Add New Member</h5>
 | 
						|
                    <div class="card-body">
 | 
						|
                        {% render_form member_select_form %}
 | 
						|
                        {% render_form membership_form %}
 | 
						|
                    </div>
 | 
						|
                </div>
 | 
						|
            </div>
 | 
						|
        </div>
 | 
						|
        <div class="row mb-3">
 | 
						|
            <div class="col col-md-6 text-end">
 | 
						|
                <a href="{{ return_url }}" class="btn btn-outline-danger">Cancel</a>
 | 
						|
                <button type="submit" name="_addanother" class="btn btn-outline-primary">Add Another</button>
 | 
						|
                <button type="submit" name="_save" class="btn btn-primary">Save</button>
 | 
						|
            </div>
 | 
						|
        </div>
 | 
						|
    </form>
 | 
						|
{% endblock %}
 |