Changeset 819


Ignore:
Timestamp:
Mar 24, 2015 2:25:36 PM (10 years ago)
Author:
namnd
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pro-violet-viettel/sourcecode/application/modules/frontend/views/lecture_editor.php

    r765 r819  
    8181                                                        <div class="col-sm-8">
    8282                                                                <select name="province" id="form-field-province" class="input-large">
     83                                                                <option></option>
    8384                                                                <?php foreach ($provinces as $key=>$pro):?>
    84                                                                         <option></option>
    85                                                                         <option value="<?php echo $pro;?>" <?php if($province == $key) echo "selected"; ?>><?php echo $pro; ?></option>
     85                                                                       
     86                                                                        <option value="<?php echo $key;?>" <?php if($province == $key) echo "selected"; ?>><?php echo $pro; ?></option>
    8687                                                                <?php endforeach;?>
    8788                                                                </select>
Note: See TracChangeset for help on using the changeset viewer.