parent
b36ff3a9c1
commit
08a4ffa89f
2 changed files with 32 additions and 3 deletions
|
|
@ -86,6 +86,21 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
{% if is_admin() %}
|
||||
<form method="POST">
|
||||
<div>
|
||||
<label for="title">title</label>
|
||||
<input type="text" name="title" id="title" value="{{ item.title }}">
|
||||
</div>
|
||||
<div>
|
||||
<label for="short_name">short name</label>
|
||||
<input type="text" name="short_name" id="short_name" value="{{ item.short_name }}">
|
||||
</div>
|
||||
|
||||
<button type="submit" class="btn btn-primary">Submit</button>
|
||||
</form>
|
||||
{% endif %}
|
||||
|
||||
<h3>Talks</h3>
|
||||
|
||||
<p>{{ item.events.count() }} talks</p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue