</div> <!-- Row 3 --> <div class="row"> <!-- State --> <div class="col-xs-12 col-sm-4"> <label for="updateContactState">State: <span class="form-error">*</span> <?php //if there is an error for this element, print it. otherwise, print an empty string. print empty($errorArray['updateContactState']) ? '' : '<br />' . $errorArray['updateContactState']; ?> </label> <select class="form-control" id="updateContactState" name="updateContactState"> <option value="">Select a State</option> <?php create_select_options_list($listOfStates, $updateContactState); ?> </select> </div> <!-- City --> <div class="col-xs-12 col-sm-4"> <label for="updateContactCity">City: <span class="form-error">*</span> <?php //if there is an error for this element, print it. otherwise, print an empty string. print empty($errorArray['updateContactCity']) ? '' : '<br />' . $errorArray['updateContactCity']; ?> </label> <input type="text" class="form-control" id="updateContactCity" name="updateContactCity" placeholder="City" value="<?php print $updateContactCity;
</div> <!-- Row 2 --> <div class="row"> <!-- State --> <div class="col-xs-12 col-sm-4"> <label for="updateStatePrivilegesState">State: <span class="form-error">*</span> <?php //if there is an error for this element, print it. otherwise, print an empty string. print empty($errorArray['updateStatePrivilegesState']) ? '' : '<br />' . $errorArray['updateStatePrivilegesState']; ?> </label> <select class="form-control" id="updateStatePrivilegesState" name="updateStatePrivilegesState"> <option value="Not a State Editor">Not a State Editor</option> <?php create_select_options_list($listOfStates, $updateStatePrivilegesState); ?> </select> </div> </div> <!-- Row 3 --> <div class="row"> <!-- Submit Button --> <div class="col-xs-12 text-center"> <button class="submit-button" value="submit" type="submit" name="submit">Submit</button> </div> </div> </div> </form> </div>
</div> <!-- Row 3 --> <div class="row"> <!-- State --> <div class="col-xs-12 col-sm-4"> <label for="addContactState">State: <span class="form-error">*</span> <?php //if there is an error for this element, print it. otherwise, print an empty string. print empty($errorArray['addContactState']) ? '' : '<br />' . $errorArray['addContactState']; ?> </label> <select class="form-control" id="addContactState" name="addContactState"> <option value="">Select a State</option> <?php create_select_options_list($listOfStates, $addContactState); ?> </select> </div> <!-- City --> <div class="col-xs-12 col-sm-4"> <label for="addContactCity">City: <span class="form-error">*</span> <?php //if there is an error for this element, print it. otherwise, print an empty string. print empty($errorArray['addContactCity']) ? '' : '<br />' . $errorArray['addContactCity']; ?> </label> <input type="text" class="form-control" id="addContactCity" name="addContactCity" placeholder="City" value="<?php print $addContactCity;