<div class="navbar navbar-inverse">
	<div class="container" style="z-index: 0">
		<div class="navbar-header">
			<span class="navbar-brand" href="#">Tambah Master Kelurahan</span>
		</div>
	</div><!-- /.container -->
	
</div><!-- /.navbar -->

	<div class="row-fluid well" style="overflow: hidden">

<!-- /.batas dari ci_lama -->
<?php 
    echo "<div class='col-md-12'>
              <div class='box box-info'>
                
              <div class='box-body'>";
              $attributes = array('class'=>'form-horizontal','role'=>'form');
              echo form_open_multipart('kelurahan/tambah_',$attributes); 
          echo "<div class='col-md-12'>
                  <table class='table table-condensed table-bordered'>
                  <tbody>
                    <tr><th scope='row'>Kecamatan</th>               <td><select name='a' class='form-control'>
                                                                            <option value='' selected>- Pilih Kecamatan -</option>";
                                                                            foreach ($kecamatan->result_array() as $rowgelar){
                                                                                echo "<option value='$rowgelar[id_kec]'>$rowgelar[nama_kec]</option>";
                                                                            }
                    echo "</td></tr>
					<tr><th style='width:20%' scope='row'>Kelurahan</th>    <td><input type='text' class='form-control' name='b' required></td></tr>
                    <tr><th scope='row'>Radius</th>               <td><select name='c' class='form-control'>
                                                                            <option value='' selected>- Pilih Radius -</option>";
                                                                            foreach ($radius->result_array() as $row){
                                                                                echo "<option value='$row[id_radius]'>Radius : $row[kategori_radius] - $row[nilai_radius]</option>";
                                                                            }
                    echo "</td></tr>
					<tr><th scope='row'></th> <td> <button type='submit' name='submit' class='btn btn-info'>Tambahkan</button>
                    <a href='".base_url()."kelurahan/list_data_'><button type='button' class='btn btn-default pull-right'>Kembali</button></a>
                    </td></tr>
				  </tbody>
                  </table>
                </div>
              </div>
			</div>
		  </div>
		</div>";