submitovátko drobnosti vzhledu
This commit is contained in:
		
							parent
							
								
									f5b99aac47
								
							
						
					
					
						commit
						90dfbab82d
					
				
					 1 changed files with 16 additions and 8 deletions
				
			
		|  | @ -14,31 +14,39 @@ | ||||||
| </h1> | </h1> | ||||||
| <form enctype="multipart/form-data" action="{% url 'seminar_nahraj_reseni' %}" method="post"> | <form enctype="multipart/form-data" action="{% url 'seminar_nahraj_reseni' %}" method="post"> | ||||||
|   {% csrf_token %} |   {% csrf_token %} | ||||||
| {{form}} | {{ form }} | ||||||
| {{prilohy.management_form}} | {{ prilohy.management_form }} | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | <h4>Přilohy s řešením</h4> | ||||||
|  | 
 | ||||||
| <div id="form_set"> | <div id="form_set"> | ||||||
| {% for form in prilohy.forms %} | {% for form in prilohy.forms %} | ||||||
| 	<div class="attachment"> | 	<div class="attachment"> | ||||||
| 	{{form.non_field_errors}} | 	{{ form.non_field_errors }} | ||||||
| 	{{form.errors}} | 	{{ form.errors }} | ||||||
|         <table class='no_error'> |         <table class='no_error'> | ||||||
|             {{ form }} |             {{ form }} | ||||||
|         </table> |         </table> | ||||||
| 	<input type="button" value="Odebrat" class="remove_attachment" id="{{form.prefix}}-jsremove"> | 	<input type="button" value="Odebrat přílohu" class="remove_attachment" id="{{form.prefix}}-jsremove"> | ||||||
| 	</div> | 	</div> | ||||||
| {% endfor %} | {% endfor %} | ||||||
| </div> | </div> | ||||||
|  | 
 | ||||||
| <input type="button" value="Přidat přílohu" id="add_attachment"> | <input type="button" value="Přidat přílohu" id="add_attachment"> | ||||||
|  | 
 | ||||||
| <div id="empty_form" style="display:none"> | <div id="empty_form" style="display:none"> | ||||||
| 	<div class="attachment"> | 	<div class="attachment"> | ||||||
|         <table class='no_error'> |         <table class='no_error'> | ||||||
|             {{ prilohy.empty_form }} |             {{ prilohy.empty_form }} | ||||||
|         </table> |         </table> | ||||||
| 	<input type="button" value="Odebrat" class="remove_attachment" id="id_prilohy-__prefix__-jsremove"> | 	<input type="button" value="Odebrat přílohu" class="remove_attachment" id="id_prilohy-__prefix__-jsremove"> | ||||||
| 	</div> | 	</div> | ||||||
| 
 |  | ||||||
| </div> | </div> | ||||||
|     <input type="submit" value="Odevzdat"> | 
 | ||||||
|  | <hr> | ||||||
|  | <h4>Odevzdat má řešení</h4> | ||||||
|  | <input type="submit" value="Odevzdat"> | ||||||
| </form> | </form> | ||||||
| 
 | 
 | ||||||
| {% endblock %} | {% endblock %} | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Kateřina Čížková
						Kateřina Čížková