<?php include('../_partials/top.php') ?>

<h1 class="page-header">Data Pelatih</h1>
<?php include('_partials/menu.php') ?>

<?php include('data-show.php') ?>

<form action="update.php" method="post">
<table class="table table-striped table-middle">
<tr>
    <th width="20%">Nama Pelatih</th>
    <td width="1%">:</td>
    <td><input type="text" class="form-control" name="nama_pelatih" value="<?php echo $data_pelatih[0]['nama_pelatih'] ?>"></td>
  </tr>
  <tr>
    <th>Alamat</th>
    <td>:</td>
    <td><input type="text" class="form-control" name="alamat" value="<?php echo $data_pelatih[0]['alamat'] ?>"></td>
  </tr>
  <tr>
    <th>Asal Ranting</th>
    <td>:</td>
    <td><input type="text" class="form-control" name="asal_ranting" value="<?php echo $data_pelatih[0]['asal_ranting'] ?>"></td>
  </tr>
</table>

<button type="submit" class="btn btn-primary btn-lg">
  <i class="glyphicon glyphicon-floppy-save"></i> Simpan
</button>
<input type="hidden" name="id_pelatih" value="<?php echo $data_pelatih[0]['id_pelatih'] ?>">
</form>

<?php include('../_partials/bottom.php') ?>
