Merge branch 'add_resitel_email_to_reseni' into test
This commit is contained in:
		
						commit
						61936708ad
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -60,7 +60,8 @@ $(document).ready(function(){ | ||||||
| 
 | 
 | ||||||
| <p>Řešené problémy: {{ object.problem.all | join:", " }}</p> | <p>Řešené problémy: {{ object.problem.all | join:", " }}</p> | ||||||
| 
 | 
 | ||||||
| <p>Řešitelé: {{ object.resitele.all | join:", " }}</p> | <p>Řešitelé: {% for r in object.resitele.all %} {{ r }} (<a href="mailto:{{ r.osoba.email }}">{{ r.osoba.email }}</a>) | ||||||
|  | {% if forloop.revcounter0 != 0 %}, {% endif %} {% endfor %}</p> | ||||||
| 
 | 
 | ||||||
| {# https://docs.djangoproject.com/en/3.1/ref/models/instances/#django.db.models.Model.get_FOO_display #} | {# https://docs.djangoproject.com/en/3.1/ref/models/instances/#django.db.models.Model.get_FOO_display #} | ||||||
| <p>Forma: {{ object.get_forma_display }}</p> | <p>Forma: {{ object.get_forma_display }}</p> | ||||||
|  | @ -89,6 +90,7 @@ $(document).ready(function(){ | ||||||
| <form method=post><table> | <form method=post><table> | ||||||
| {% csrf_token %} | {% csrf_token %} | ||||||
| {{ form.management_form }} | {{ form.management_form }} | ||||||
|  | </table> | ||||||
| <table id="form_set"> | <table id="form_set"> | ||||||
| <tr><th>Problém</th><th>Body</th><th>Číslo pro body</th></tr> | <tr><th>Problém</th><th>Body</th><th>Číslo pro body</th></tr> | ||||||
| {% for subform in form %} | {% for subform in form %} | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Jonas Havelka
						Jonas Havelka