mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 15:05:42 +00:00
ENHANCEMENT Changed the submission rendering in the CMS
This commit is contained in:
parent
8e80dc2040
commit
e6d8e81b33
@ -8,16 +8,16 @@
|
||||
|
||||
<% loop Submissions %>
|
||||
<div class="userform-submission">
|
||||
<h4><% _t('SUBMITTED', 'Submitted at') %> $Created.Nice. <a href="{$Top.Link}/deletesubmission/?id={$ID}" class="deleteSubmission"><% _t('DELETESUBMISSION', 'Delete Submission') %></a></h4>
|
||||
|
||||
<table>
|
||||
<h5><% _t('SUBMITTED', 'Submitted at') %> {$Created.Nice} <a href="{$Top.Link}/deletesubmission/?id={$ID}" class="deleteSubmission"><% _t('DELETESUBMISSION', 'Delete Submission') %></a></h5>
|
||||
<% loop Values %>
|
||||
<tr>
|
||||
<td class="field">$Title</td>
|
||||
<td class="value">$FormattedValue</td>
|
||||
</tr>
|
||||
<div id="Text_readonly" class="field readonly text">
|
||||
<label class="left" for="Form_EditForm_Text_readonly">$Title</label>
|
||||
<div class="middleColumn">
|
||||
<span id="Form_EditForm_Text_readonly" class="readonly text">$Value</span>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<% end_loop %>
|
||||
</table>
|
||||
</div>
|
||||
<% end_loop %>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user