2022-09-06 18:18:17 +00:00
|
|
|
<div class="container" id="edit_band_dialog">
|
|
|
|
<form>
|
|
|
|
|
|
|
|
<input type="hidden" name="id" value="<?php echo $my_band->id; ?>">
|
2023-11-14 12:35:53 +00:00
|
|
|
<div class="mb-3">
|
2023-10-18 22:16:21 +00:00
|
|
|
<label for="bandInput"><?php echo lang('gen_hamradio_band'); ?></label>
|
2022-09-06 18:18:17 +00:00
|
|
|
<input type="text" class="form-control" name="band" id="bandInput" aria-describedby="bandInputHelp" value="<?php if(set_value('band') != "") { echo set_value('band'); } else { echo $my_band->band; } ?>" required>
|
2023-10-18 22:16:21 +00:00
|
|
|
<small id="bandInputHelp" class="form-text text-muted"><?php echo lang('options_bands_name_band'); ?></small>
|
2022-09-06 18:18:17 +00:00
|
|
|
</div>
|
2023-11-14 12:35:53 +00:00
|
|
|
<div class="mb-3">
|
2023-10-18 22:16:21 +00:00
|
|
|
<label for="bandGroup"><?php echo lang('gen_hamradio_bandgroup'); ?></label>
|
2022-09-09 16:52:57 +00:00
|
|
|
<input type="text" class="form-control" name="bandgroup" id="bandGroup" aria-describedby="bandgroupInputHelp" value="<?php if(set_value('bandgroup') != "") { echo set_value('bandgroup'); } else { echo $my_band->bandgroup; } ?>" required>
|
2023-10-18 22:16:21 +00:00
|
|
|
<small id="bandgroupInputHelp" class="form-text text-muted"><?php echo lang('options_bands_name_bandgroup'); ?></small>
|
2022-09-09 16:52:57 +00:00
|
|
|
</div>
|
2023-11-14 12:35:53 +00:00
|
|
|
<div class="mb-3">
|
2023-10-18 22:16:21 +00:00
|
|
|
<label for="ssbqrg"><?php echo lang('options_bands_ssb_qrg'); ?></label>
|
2022-09-09 16:52:57 +00:00
|
|
|
<input type="text" class="form-control" name="ssbqrg" id="ssbqrg" aria-describedby="ssbqrgInputHelp" value="<?php echo $my_band->ssb; ?>" required>
|
2023-10-18 22:16:21 +00:00
|
|
|
<small id="ssbqrgInputHelp" class="form-text text-muted"><?php echo lang('options_bands_ssb_qrg_hint'); ?></small>
|
2022-09-09 16:52:57 +00:00
|
|
|
</div>
|
2023-11-14 12:35:53 +00:00
|
|
|
<div class="mb-3">
|
2023-10-18 22:16:21 +00:00
|
|
|
<label for="dataqrg"><?php echo lang('options_bands_data_qrg'); ?></label>
|
2022-09-09 16:52:57 +00:00
|
|
|
<input type="text" class="form-control" name="dataqrg" id="dataqrg" aria-describedby="dataqrgInputHelp" value="<?php echo $my_band->data; ?>" required>
|
2023-10-18 22:16:21 +00:00
|
|
|
<small id="dataqrgInputHelp" class="form-text text-muted"><?php echo lang('options_bands_data_qrg_hint'); ?></small>
|
2022-09-09 16:52:57 +00:00
|
|
|
</div>
|
2023-11-14 12:35:53 +00:00
|
|
|
<div class="mb-3">
|
2023-10-18 22:16:21 +00:00
|
|
|
<label for="cwqrg"><?php echo lang('options_bands_cw_qrg'); ?></label>
|
2022-09-09 16:52:57 +00:00
|
|
|
<input type="text" class="form-control" name="cwqrg" id="cwqrg" aria-describedby="cwqrgInputHelp" value="<?php echo $my_band->cw; ?>" required>
|
2023-10-18 22:16:21 +00:00
|
|
|
<small id="cwqrgInputHelp" class="form-text text-muted"><?php echo lang('options_bands_cw_qrg_hint'); ?></small>
|
2022-09-09 16:52:57 +00:00
|
|
|
</div>
|
2022-09-06 18:18:17 +00:00
|
|
|
|
2023-10-18 22:16:21 +00:00
|
|
|
<button type="button" onclick="saveUpdatedBand(this.form);" class="btn btn-primary"><i class="fas fa-plus-square"></i> <?php echo lang('options_save'); ?></button>
|
2022-09-06 18:18:17 +00:00
|
|
|
|
|
|
|
</form>
|
|
|
|
</div>
|