title and description above text fields for contribution edit
This commit is contained in:
@@ -577,10 +577,14 @@ $counts['total'] = count($all_contributions);
|
|||||||
title: 'Beitrag bearbeiten',
|
title: 'Beitrag bearbeiten',
|
||||||
html:
|
html:
|
||||||
'<div style="text-align:left;">' +
|
'<div style="text-align:left;">' +
|
||||||
'<label style="font-weight:600;font-size:0.85rem;">Titel</label>' +
|
'<div style="margin-bottom:12px;">' +
|
||||||
'<input id="swal-title" class="swal2-input" value="' + currentTitle + '">' +
|
'<label style="display:block;font-weight:600;font-size:1.15rem;margin-bottom:4px;">Titel</label>' +
|
||||||
'<label style="font-weight:600;font-size:0.85rem;">Beschreibung</label>' +
|
'<input id="swal-title" class="swal2-input" style="margin:0;width:100%;" value="' + currentTitle + '">' +
|
||||||
'<textarea id="swal-description" class="swal2-textarea">' + currentDescription + '</textarea>' +
|
'</div>' +
|
||||||
|
'<div>' +
|
||||||
|
'<label style="display:block;font-weight:600;font-size:1.15rem;margin-bottom:4px;">Beschreibung</label>' +
|
||||||
|
'<textarea id="swal-description" class="swal2-textarea" style="margin:0;width:100%;">' + currentDescription + '</textarea>' +
|
||||||
|
'</div>' +
|
||||||
'</div>',
|
'</div>',
|
||||||
showCancelButton: true,
|
showCancelButton: true,
|
||||||
confirmButtonText: 'Speichern',
|
confirmButtonText: 'Speichern',
|
||||||
|
|||||||
@@ -484,10 +484,14 @@ function editContribution(contributionId) {
|
|||||||
title: 'Beitrag bearbeiten',
|
title: 'Beitrag bearbeiten',
|
||||||
html:
|
html:
|
||||||
'<div style="text-align:left;">' +
|
'<div style="text-align:left;">' +
|
||||||
'<label style="font-weight:600;font-size:0.85rem;">Titel</label>' +
|
'<div style="margin-bottom:12px;">' +
|
||||||
'<input id="swal-title" class="swal2-input" value="' + escapeHtml(props.title) + '">' +
|
'<label style="display:block;font-weight:600;font-size:1.15rem;margin-bottom:4px;">Titel</label>' +
|
||||||
'<label style="font-weight:600;font-size:0.85rem;">Beschreibung</label>' +
|
'<input id="swal-title" class="swal2-input" style="margin:0;width:100%;" value="' + escapeHtml(props.title) + '">' +
|
||||||
'<textarea id="swal-description" class="swal2-textarea">' + escapeHtml(props.description || '') + '</textarea>' +
|
'</div>' +
|
||||||
|
'<div>' +
|
||||||
|
'<label style="display:block;font-weight:600;font-size:1.15rem;margin-bottom:4px;">Beschreibung</label>' +
|
||||||
|
'<textarea id="swal-description" class="swal2-textarea" style="margin:0;width:100%;">' + escapeHtml(props.description || '') + '</textarea>' +
|
||||||
|
'</div>' +
|
||||||
'</div>',
|
'</div>',
|
||||||
showCancelButton: true,
|
showCancelButton: true,
|
||||||
confirmButtonText: 'Speichern',
|
confirmButtonText: 'Speichern',
|
||||||
|
|||||||
Reference in New Issue
Block a user