Commit 9a75cb25 authored by Johannes Knödtel's avatar Johannes Knödtel 🎶
Browse files

add missing servlet-contexts

parent fa19f093
......@@ -378,7 +378,7 @@
</div>
<form method="POST" action="/{% if locked %}unlock{% else %}lock{% endif %}-session" style="display:inline">
<form method="POST" action="{{servlet-context}}/{% if locked %}unlock{% else %}lock{% endif %}-session" style="display:inline">
{% csrf-field %}
<input type="text" name="session" value="{{session}}" style="display:none;" />
<div class="fixed-action-btn">
......
......@@ -10,9 +10,9 @@
<ul class="collection">
{% for session in sessions %}
<li class="collection-item" style="padding-bottom:1.75em;">
<a href="/{{session.id}}" style="vertical-align:center;margin-top=0.5em">{{session.id}}. {{session.name}}</a>
<a href="{{servlet-context}}/{{session.id}}" style="vertical-align:center;margin-top=0.5em">{{session.id}}. {{session.name}}</a>
<span class="secondary-content">
<form method="POST" action="/{% if session.locked %}unlock{% else %}lock{% endif %}-session" style="display:inline">
<form method="POST" action="{{servlet-context}}/{% if session.locked %}unlock{% else %}lock{% endif %}-session" style="display:inline">
{% csrf-field %}
<input type="text" name="session" value="{{session.id}}" style="display:none;" />
<button class="btn btn-floating" type="submit">
......@@ -29,7 +29,7 @@
<div class="col s12 m12 l12">
<h4>Oder erstelle eine neue:</h4>
<div class="row card-panel">
<form method="POST" action="/create-session" class="col s12" style="padding: 0">
<form method="POST" action="{{servlet-context}}/create-session" class="col s12" style="padding: 0">
{% csrf-field %}
<div class="input-field col l8 m6 s12">
<label for="name">Name</label>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment