Viewing file: 4036ca3819ed7f13c670986b62b9405d1b4ddde2.php (1.96 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<form method="POST" enctype="multipart/form-data" class="d-block ajaxForm" action="<?php echo e(route('admin.create.event')); ?>">
<?php echo csrf_field(); ?>
<div class="fpb-7">
<label for="title" class="eForm-label"><?php echo e(get_phrase('Event title')); ?></label>
<input type="text" class="form-control eForm-control" id="title" name = "title" required>
</div>
<div class="fpb-7">
<label for="timestamp" class="eForm-label"><?php echo e(get_phrase('Date')); ?></label>
<input type="text" class="form-control eForm-control inputDate" id="timestamp" name = "timestamp" value="<?php echo e(date('m/d/Y')); ?>" required>
</div>
<div class="fpb-7">
<label for="status" class="eForm-label"><?php echo e(get_phrase('Status')); ?></label>
<select name="status" id="status" class="form-select eForm-control">
<option value="1"><?php echo e(get_phrase('Active')); ?></option>
<option value="0"><?php echo e(get_phrase('Inactive')); ?></option>
</select>
</div>
<div class="fpb-7 pt-2">
<button class="btn-form" type="submit"><?php echo e(get_phrase('Save event')); ?></button>
</div>
</form>
<script type="text/javascript">
"use strict";
$(document).ready(function () {
$(".eChoice-multiple-with-remove").select2();
});
$(function () {
$('.inputDate').daterangepicker(
{
singleDatePicker: true,
showDropdowns: true,
minYear: 1901,
maxYear: parseInt(moment().format("YYYY"), 10),
},
function (start, end, label) {
var years = moment().diff(start, "years");
}
);
});
$(document).ready(function () {
$(".eChoice-multiple-with-remove").select2();
});
</script><?php /**PATH /home/picotech/domains/school.picotech.app/public_html/resources/views/admin/events/create_event.blade.php ENDPATH**/ ?>
|