Abstände korrigiert
This commit is contained in:
parent
019ccd51a7
commit
370e950550
|
@ -39,13 +39,13 @@
|
||||||
<div id="aufwaermen">
|
<div id="aufwaermen">
|
||||||
<h3>Aufwärmen:</h3>
|
<h3>Aufwärmen:</h3>
|
||||||
<% if (training.aufwaermleiter_name) { %>
|
<% if (training.aufwaermleiter_name) { %>
|
||||||
<div id="viewAufwaermenLeiter" class="mt-5" style="margin: 0; padding: 0;">
|
<div id="viewAufwaermenLeiter" class="mt-0" style="margin: 0; padding: 0;">
|
||||||
<strong>Leitung:</strong>
|
<strong>Leitung:</strong>
|
||||||
<%= training.aufwaermleiter_name %>
|
<%= training.aufwaermleiter_name %>
|
||||||
<% if (session && session.role === 'admin') { %><button class="btn btn-primary" onclick="toggleDivsAufwaermenLeiter()">Edit</button><% } %>
|
<% if (session && session.role === 'admin') { %><button class="btn btn-primary" onclick="toggleDivsAufwaermenLeiter()">Edit</button><% } %>
|
||||||
</div>
|
</div>
|
||||||
<% if (session && session.role === 'admin') { %>
|
<% if (session && session.role === 'admin') { %>
|
||||||
<div id="editAufwaermenLeiter" class="mt-5 d-none" style="margin: 0; padding: 0;">
|
<div id="editAufwaermenLeiter" class="mt-0 d-none" style="margin: 0; padding: 0;">
|
||||||
<form method="POST" action="/update-leader">
|
<form method="POST" action="/update-leader">
|
||||||
<strong>Leitung:</strong>
|
<strong>Leitung:</strong>
|
||||||
<input type="hidden" name="trainingId" value="<%= training.id %>">
|
<input type="hidden" name="trainingId" value="<%= training.id %>">
|
||||||
|
@ -87,7 +87,7 @@
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
||||||
<% if (training.aufwaermen_name) { %>
|
<% if (training.aufwaermen_name) { %>
|
||||||
<div id="viewAufwaermen" class="mt-5" style="margin: 0; padding: 0;">
|
<div id="viewAufwaermen" class="mt-0">
|
||||||
<strong>Spiel:</strong>
|
<strong>Spiel:</strong>
|
||||||
<%= training.aufwaermen_name %>
|
<%= training.aufwaermen_name %>
|
||||||
<% if (session && session.role === 'admin') { %>
|
<% if (session && session.role === 'admin') { %>
|
||||||
|
@ -95,7 +95,7 @@
|
||||||
<% } %>
|
<% } %>
|
||||||
</div>
|
</div>
|
||||||
<% if (session && session.role === 'admin') { %>
|
<% if (session && session.role === 'admin') { %>
|
||||||
<div id="editAufwaermen" class="mt-5 d-none" style="margin: 0; padding: 0;">
|
<div id="editAufwaermen" class="mt-0 d-none" style="margin: 0; padding: 0;">
|
||||||
<form method="POST" action="/update-training">
|
<form method="POST" action="/update-training">
|
||||||
<p><strong>Spiel:</strong>
|
<p><strong>Spiel:</strong>
|
||||||
<input type="hidden" name="trainingId" value="<%= training.id %>">
|
<input type="hidden" name="trainingId" value="<%= training.id %>">
|
||||||
|
@ -139,7 +139,7 @@
|
||||||
<h3>Spiel: </h3>
|
<h3>Spiel: </h3>
|
||||||
|
|
||||||
<% if (training.spielleiter_name) { %>
|
<% if (training.spielleiter_name) { %>
|
||||||
<div id="viewSpielLeiter" class="mt-5" style="margin: 0; padding: 0;">
|
<div id="viewSpielLeiter" class="0" style="margin: 0; padding: 0;">
|
||||||
<p><strong>Leitung:</strong>
|
<p><strong>Leitung:</strong>
|
||||||
<%= training.spielleiter_name %>
|
<%= training.spielleiter_name %>
|
||||||
|
|
||||||
|
@ -150,7 +150,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<% if (session && session.role === 'admin') { %>
|
<% if (session && session.role === 'admin') { %>
|
||||||
<div id="editSpielLeiter" class="mt-5 d-none" style="margin: 0; padding: 0;">
|
<div id="editSpielLeiter" class="mt-0 d-none" style="margin: 0; padding: 0;">
|
||||||
<form method="POST" action="/update-leader">
|
<form method="POST" action="/update-leader">
|
||||||
<p><strong>Leitung:</strong>
|
<p><strong>Leitung:</strong>
|
||||||
<input type="hidden" name="trainingId" value="<%= training.id %>">
|
<input type="hidden" name="trainingId" value="<%= training.id %>">
|
||||||
|
@ -194,7 +194,7 @@
|
||||||
|
|
||||||
|
|
||||||
<% if (training.spiel_name) { %>
|
<% if (training.spiel_name) { %>
|
||||||
<div id="viewSpiel" class="mt-5" style="margin: 0; padding: 0;">
|
<div id="viewSpiel" class="mt-0" style="margin: 0; padding: 0;">
|
||||||
<p><strong>Spiel:</strong>
|
<p><strong>Spiel:</strong>
|
||||||
<%= training.spiel_name %>
|
<%= training.spiel_name %>
|
||||||
|
|
||||||
|
@ -204,7 +204,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<% if (session && session.role === 'admin') { %>
|
<% if (session && session.role === 'admin') { %>
|
||||||
<div id="editSpiel" class="mt-5 d-none" style="margin: 0; padding: 0;">
|
<div id="editSpiel" class="mt-0 d-none" style="margin: 0; padding: 0;">
|
||||||
<form method="POST" action="/update-training">
|
<form method="POST" action="/update-training">
|
||||||
<p><strong>Spiel:</strong>
|
<p><strong>Spiel:</strong>
|
||||||
<input type="hidden" name="trainingId" value="<%= training.id %>">
|
<input type="hidden" name="trainingId" value="<%= training.id %>">
|
||||||
|
|
Loading…
Reference in New Issue