<?php echo $this->session->flashdata('message'); ?> <?php echo form_open('participation/reschedule_submit/' . $participation->id, array('class' => 'pure-form')); ?> <?php echo form_fieldset(lang('reschedule')); ?> <p> <?php echo sprintf(lang('reschedule_info'), name($participant), $experiment->name, output_datetime($participation->appointment)); ?> </p> <p> <?php echo sprintf(lang('call_dates'), name($participant), $min_date, $max_date); ?> </p> <?php echo form_input('appointment', $appointment, 'id="appointment"'); ?> <?php echo form_submit_only(); echo form_cancel('participation/experiment/' . $experiment->id); echo form_fieldset_close(); echo form_close(); echo validation_errors();
function form_controls($cancel_link = '') { $div_start = '<div class="pure-controls">'; $div_start .= "<script type=\"text/javascript\">function clear_chosen_select()\n{\n\t\$('.chosen-select option').prop('selected', false);\n\t\$(\".chosen-select\").trigger(\"chosen:updated\");\n}</script>"; $submit = form_submit('submit', lang('submit'), 'class="pure-button pure-button-primary"'); $reset = form_reset('reset', lang('reset'), 'class="pure-button pure-button-secondary" onClick="clear_chosen_select()"'); $cancel = $cancel_link ? form_cancel($cancel_link) : ''; $div_end = '</div>'; return $div_start . $submit . $reset . $cancel . $div_end; }
if (!empty($participant->phonealt)) { ?> <tr> <th><?php echo lang('phonealt'); ?> </th> <td><?php echo $participant->phonealt; ?> </td> </tr> <?php } ?> <tr> <th><?php echo lang('email'); ?> </th> <td><?php echo mailto($participant->email); ?> </td> </tr> </table> <?php echo form_submit_only('', 'Herinnering versturen'); echo form_cancel('testinvite', lang('cancel')); echo form_close();
echo $this->session->flashdata('message'); ?> <?php echo form_open('participation/cancel_submit/' . $participation->id, array('class' => 'pure-form')); ?> <?php echo form_fieldset(lang('cancel')); ?> <p> <?php echo sprintf(lang('cancel_info'), name($participant), $experiment->name, anchor('participation/reschedule/' . $participation->id, lang('reschedule_short'))); ?> </p> <p> <?php echo form_checkbox('delete', 'delete'); echo form_label(lang('delete')); echo form_hidden('referrer', $referrer); ?> </p> <?php echo form_submit_only(); echo form_cancel($referrer); echo form_fieldset_close(); echo form_close(); echo validation_errors();