kopia lustrzana https://github.com/magicbug/Cloudlog
39 wiersze
1.4 KiB
PHP
39 wiersze
1.4 KiB
PHP
|
|
<div class="container" id="create_contest">
|
|
|
|
<br>
|
|
<?php if($this->session->flashdata('message')) { ?>
|
|
<!-- Display Message -->
|
|
<div class="alert-message error">
|
|
<p><?php echo $this->session->flashdata('message'); ?></p>
|
|
</div>
|
|
<?php } ?>
|
|
|
|
<?php if($this->session->flashdata('notice')) { ?>
|
|
<div id="message" >
|
|
<?php echo $this->session->flashdata('notice'); ?>
|
|
</div>
|
|
<?php } ?>
|
|
|
|
<?php $this->load->helper('form'); ?>
|
|
|
|
<?php echo validation_errors(); ?>
|
|
|
|
<form>
|
|
<div class="mb-3">
|
|
<label for="contestInput"><?php echo lang('admin_contest_menu_name'); ?></label>
|
|
<input type="text" class="form-control" name="contestname" id="contestInput" aria-describedby="contestInputHelp" required>
|
|
<small id="contestInputHelp" class="form-text text-muted"><?php echo lang('admin_contest_name_of_contest'); ?></small>
|
|
</div>
|
|
|
|
<div class="mb-3">
|
|
<label for="adifcontestInput"><?php echo lang('admin_contest_menu_adif'); ?></label>
|
|
<input type="text" class="form-control" name="adifcontestname" id="adifcontestInput" aria-describedby="adifcontestInputHelp">
|
|
<small id="adifcontestInputHelp" class="form-text text-muted"><?php echo lang('admin_contest_name_of_adif'); ?></small>
|
|
</div>
|
|
|
|
<button type="button" onclick="createContest(this.form);" class="btn btn-primary btn-sm"><i class="fas fa-plus-square"></i> <?php echo lang('admin_contest_create'); ?></button>
|
|
|
|
</form>
|
|
</div>
|