Skip to content
Snippets Groups Projects
Commit fe44ca89 authored by Lars Beckers's avatar Lars Beckers
Browse files

fix the previous bug also in other files

parent 3c0fda90
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@
<h3 class="mdl-card__title-text">{{ event.name }}: {{ speaker.name }}</h3>
</div>
<div class="mdl-card__actions">
{% if current_user.is_authenticated() and "user" in current_user.roles %}
{% if current_user.is_authenticated and "user" in current_user.roles %}
<a href="{{ url_for("speech.index", event=event.id) }}">
<button type="button" class="mdl-button mdl-js-button mdl-button--raised mdl-button--colored">
<i class="material-icons" role="presentation">build</i>
......
......@@ -56,7 +56,7 @@
{% endfor %}
</tbody>
</table>
{% if current_user.is_authenticated() and "user" in current_user.roles %}
{% if current_user.is_authenticated and "user" in current_user.roles %}
{{ render_form(add_form, action_url=url_for('.add', next=".index", event=event_id), action_text="Add", title="Add Speaker to {}".format(event.name)) }}
{% endif %}
{% endfor %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment