adminbereich weitergemacht
This commit is contained in:
@ -281,6 +281,11 @@
|
||||
{literal}
|
||||
|
||||
|
||||
function keysave(ele) {
|
||||
if(event.key === 'Enter') {
|
||||
erfassensave();
|
||||
}
|
||||
}
|
||||
|
||||
$(document).ready(function() {
|
||||
|
||||
@ -368,7 +373,9 @@
|
||||
<!--Anwendung-->
|
||||
<script src="../js/components/admin_erfassen.js"></script>
|
||||
|
||||
<form action="?action=save" method='post' name='erfassen'>
|
||||
<!-- <form action="?action=save" method='post' name='erfassen'>
|
||||
-->
|
||||
|
||||
{if $umfrageerf_error == '1'}
|
||||
<table width="70%" class="errorTable" align="center">
|
||||
<tr>
|
||||
@ -394,7 +401,7 @@
|
||||
Frage:
|
||||
</td>
|
||||
<td valign="top">
|
||||
<input class="form-control" type="text" name="frage" id="frage" value="{$umfrageerf_value_frage}" size="60">
|
||||
<input class="form-control" type="text" name="frage" id="frage" value="{$umfrageerf_value_frage}" size="60" onkeydown="keysave(this)">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -408,7 +415,7 @@
|
||||
Antwort:
|
||||
</td>
|
||||
<td valign="top">
|
||||
<input class="form-control" type="text" name="antwort" id="antwort" value="{$umfrageerf_value_antwort}" size="60">
|
||||
<input class="form-control" type="text" name="antwort" id="antwort" value="{$umfrageerf_value_antwort}" size="60" onkeydown="keysave(this)">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -422,7 +429,7 @@
|
||||
Mehrfachantworten erlauben:
|
||||
</td>
|
||||
<td valign="top">
|
||||
<input class="form-check-input" type="checkbox" name="multiple" id="multiple" value="1" {if $umfrageerf_value_multiple == 1} checked {/if}>
|
||||
<input class="form-check-input" type="checkbox" name="multiple" id="multiple" value="1" onclick="erf_multiple();" {if $umfrageerf_value_multiple == 1} checked {/if}>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@ -432,7 +439,10 @@
|
||||
<p align='center'>
|
||||
<div class="col-12 btn-group">
|
||||
<a type="submit" href="?" class="btn btn-light">Zurück - Stammdaten bearbeiten</a>
|
||||
<input type='submit' class="btn btn-primary" name='senden' value="Frage/Antwort Speichern">
|
||||
<!-- <input type='submit' class="btn btn-primary" name='senden' value="Frage/Antwort Speichern">
|
||||
-->
|
||||
|
||||
<button class="btn btn-primary" id="save" onclick="erfassensave();">Frage/Antwort Speichern</button>
|
||||
</div>
|
||||
</p>
|
||||
<br />
|
||||
@ -485,9 +495,12 @@
|
||||
{/section}
|
||||
</table>
|
||||
<div id="msg"></div>
|
||||
</form>
|
||||
<p align='center'><button class="btn btn-delete btn-danger" onclick="onClickDeleteQuestion({$umfrageerf_value_ufid})">Frage Löschen</button></p>
|
||||
{/if}
|
||||
<!--
|
||||
</form>
|
||||
-->
|
||||
<p align='center'><button class="btn btn-delete btn-danger" onclick="onClickDeleteQuestion({$umfrageerf_value_ufid})">Frage Löschen</button></p>
|
||||
|
||||
</div>
|
||||
<div class="tab-pane fade mt-2" id="neuefrage" role="tabpanel" aria-labelledby="group-dropdown2-tab" >
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user