Checklist Form for Issues
This page uses a Hashtag Checklist Form to update the status of Issue records.
The Table and Form are styled using Bootstrap 3 default theme classes.
After processing Checklist Form Actions, submissions will be redirected back to this page, showing the updated Issue records.
Processed this Hashtag Markup:
<# start checklist form for Issues;
when accepted call confirm('Mark Checked Issues as Accepted?');
when reviewed call confirm('Mark Checked Issues as Reviewed?');
when rejected call confirm('Mark Checked Issues as Rejected?');
when accepted and checked set status to "Accepted";
when reviewed and checked set status to "Reviewed";
when rejected and checked set status to "Rejected";
when done redirect to "/checklist-forms/#table";
#>
<# start header #>
<table class="table table-striped table-hover" id="table">
<thead>
<tr>
<th><label class="checkbox-inline"></label>Issue Name</th>
<th>Status</th>
</tr>
</thead>
<# end header #>
<# start row #>
<tr>
<td><label class="checkbox-inline">
<input type="checkbox" <# checklist item #>>
<# name as html #>
</label>
</td>
<td><# status #></td>
</tr>
<# end row #>
<# start footer #>
</table>
<input type="submit" <# accepted button #> class="btn btn-primary" value="Accepted">
<input type="submit" <# reviewed button #> class="btn btn-primary" value="Reviewed">
<input type="submit" <# rejected button #> class="btn btn-primary" value="Rejected">
<# end footer #>
<# end checklist form #>