Fix: Řešení nemá hodnocení, ale hodnocení_set.
This commit is contained in:
		
							parent
							
								
									b667900672
								
							
						
					
					
						commit
						88af1e6752
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -29,10 +29,10 @@ | |||
| {# Hodnocení: #} | ||||
| {# FIXME: Udělat jako formulář #} | ||||
| <h3>Hodnocení:</h3> | ||||
| {% if object.hodnoceni.all %} | ||||
| {% if object.hodnoceni_set.all %} | ||||
| <table> | ||||
| <tr><th>Problém</th><th>Body</th><th>Číslo pro body</th></tr> | ||||
| {% for h in object.hodnoceni.all %} | ||||
| {% for h in object.hodnoceni_set.all %} | ||||
| <tr> | ||||
| 	<td>{{ h.problem }}</a></td> | ||||
| 	<td>{{ h.body }}</td> | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Pavel "LEdoian" Turinsky
						Pavel "LEdoian" Turinsky