File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -45,18 +45,6 @@ <h1>{% if ipaddress %}Editing IP Address {{ ipaddress }}{% else %}Add an IP Addr
4545                    {% render_field form.description %}
4646                </ div > 
4747            </ div > 
48- 		    < div  class ="form-group "> 
49-                 < div  class ="col-md-9 col-md-offset-3 "> 
50-                     {% if ipaddress %}
51-                         < button  type ="submit " name ="_update " class ="btn btn-primary "> Update</ button > 
52-                         < a  href ="{% url 'ipam:ipaddress' pk=ipaddress.pk %} " class ="btn btn-default "> Cancel</ a > 
53-                     {% else %}
54-                         < button  type ="submit " name ="_create " class ="btn btn-primary "> Create</ button > 
55-                         < button  type ="submit " name ="_addanother " class ="btn btn-primary "> Create and Add Another</ button > 
56-                         < a  href ="{% url 'ipam:ipaddress_list' %} " class ="btn btn-default "> Cancel</ a > 
57-                     {% endif %}
58-                 </ div > 
59- 		    </ div > 
6048        </ div > 
6149        < div  class ="col-md-6 "> 
6250            < div  class ="panel panel-default "> 
@@ -80,6 +68,18 @@ <h1>{% if ipaddress %}Editing IP Address {{ ipaddress }}{% else %}Add an IP Addr
8068            </ div > 
8169        </ div > 
8270    </ div > 
71+     < div  class ="row "> 
72+         < div  class ="col-md-12 text-right "> 
73+             {% if ipaddress %}
74+                 < button  type ="submit " name ="_update " class ="btn btn-primary "> Update</ button > 
75+                 < a  href ="{% url 'ipam:ipaddress' pk=ipaddress.pk %} " class ="btn btn-default "> Cancel</ a > 
76+             {% else %}
77+                 < button  type ="submit " name ="_create " class ="btn btn-primary "> Create</ button > 
78+                 < button  type ="submit " name ="_addanother " class ="btn btn-primary "> Create and Add Another</ button > 
79+                 < a  href ="{% url 'ipam:ipaddress_list' %} " class ="btn btn-default "> Cancel</ a > 
80+             {% endif %}
81+         </ div > 
82+     </ div > 
8383</ form > 
8484{% endblock %}
8585
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments