Added USA State to the edit fields list

This commit is contained in:
Peter Goodhall 2020-03-05 18:31:54 +00:00
parent c72c5deea4
commit 01cade18fe
2 changed files with 6 additions and 0 deletions

View File

@ -282,6 +282,7 @@ class Logbook_model extends CI_Model {
'COL_QSL_VIA' => $this->input->post('qsl_via_callsign'),
'station_id' => $this->input->post('station_profile'),
'COL_OPERATOR' => $this->input->post('operator_callsign'),
'COL_STATE' =>$this->input->post('usa_state')
);
$this->db->where('COL_PRIMARY_KEY', $this->input->post('id'));

View File

@ -155,6 +155,11 @@
<!-- Awards Panel Contents -->
<div class="tab-pane fade" id="nav-awards" role="tabpanel" aria-labelledby="nav-awards-tab">
<div class="form-group">
<label for="usa_state">USA State</label>
<input type="text" class="form-control" id="usa_state" name="usa_state" value="<?php echo $COL_STATE; ?>">
</div>
<div class="form-group">
<label for="iota_ref">IOTA</label>
<input type="text" class="form-control" id="iota_ref" name="iota_ref" value="<?php echo $COL_IOTA; ?>">