mirror of
				https://github.com/retspen/webvirtcloud
				synced 2025-07-31 12:41:08 +00:00 
			
		
		
		
	fix multiple media selection in instance settings form
This commit is contained in:
		
							parent
							
								
									14b0751930
								
							
						
					
					
						commit
						6858448b60
					
				
					 1 changed files with 4 additions and 4 deletions
				
			
		|  | @ -546,8 +546,8 @@ | |||
|                                         <!-- Tab panes --> | ||||
|                                         <div class="tab-content"> | ||||
|                                             <div role="tabpanel" class="tab-pane tab-pane-bordered active" id="media"> | ||||
|                                                 <form class="form-horizontal" action="" method="post" role="form">{% csrf_token %} | ||||
|                                                     {% for cd in media %} | ||||
|                                                 {% for cd in media %} | ||||
|                                                     <form class="form-horizontal" action="" method="post" role="form">{% csrf_token %} | ||||
|                                                         <div class="form-group"> | ||||
|                                                             <label class="col-sm-2 control-label">{% trans "CDROM" %} {{ forloop.counter }}</label> | ||||
|                                                             {% if not cd.image %} | ||||
|  | @ -579,8 +579,8 @@ | |||
|                                                                 </div> | ||||
|                                                             {% endif %} | ||||
|                                                         </div> | ||||
|                                                     {% endfor %} | ||||
|                                                 </form> | ||||
|                                                     </form> | ||||
|                                                 {% endfor %} | ||||
|                                                 <div class="clearfix"></div> | ||||
|                                             </div> | ||||
|                                             {% if request.user.is_superuser %} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue