5
5
<p>Shift Templates are templates for when responding staff will be scheduled to work. The times
6
6
entered are relative, and when an event is created time will become specific to that event.</p>
7
7
<form action="<?php echo url_for('scenario/shifttemplates?id=' . $scenario_id); ?>" method="post" name="shift_template">
8
<?php include_partial('shifttemplateholder', array('shifttemplateforms' => $shifttemplateforms, 'scenario_id' => $scenario_id)) ?>
9
<div id ="newshifttemplates">
10
<!--<a href="<?php echo url_for('scenario/addshifttemplate?id=' . $scenario_id); ?>" class="smallLinkButton addShiftTemplate" id="adder">+ Add Shift Template</a>-->
12
<a href="<?php echo url_for('scenario/addshifttemplate?id=' . $scenario_id); ?>" class="smallLinkButton addShiftTemplate" id="adder">+ Add Shift Template</a>
14
<input type="hidden" name="deleteShiftTemplateId" id ="deleteShiftTemplateId"/>
8
<?php include_partial('shifttemplateholder', array('shifttemplateforms' => $shifttemplateforms, 'scenario_id' => $scenario_id)) ?>
9
<div id ="newshifttemplates">
10
<a href="<?php echo url_for('scenario/addshifttemplate?id=' . $scenario_id); ?>" class="smallLinkButton addShiftTemplate" id="adder">+ Add Shift Template</a>
12
<input type="hidden" name="deleteShiftTemplateId" id ="deleteShiftTemplateId"/>
15
13
<!-- <input type="submit" class="continueButton" value="Generate Resource Type Templates" name="Predefined" onclick="shiftTemplateIdVal('Hello Shirley');"/> -->
16
<input type="submit" class="continueButton" value="Generate Resource Type Templates" name="Predefined" onclick="return confirm('Are you sure you want to generate templates for this scenario resources? If you have already created templates, they will be lost.')"/>
17
<input type="submit" class="continueButton" value="Save, Generate Shifts and Continue" name="Continue" />
14
<input type="submit" class="continueButton" value="Generate Resource Type Templates" name="Predefined" onclick="return confirm('Are you sure you want to generate templates for this scenario resources? If you have already created templates, they will be lost.')"/>
15
<input type="submit" class="continueButton" value="Save, Generate Shifts and Continue" name="Continue" />