ci_restful/application/views/add.php

19 lines
734 B
PHP
Raw Normal View History

2020-01-02 22:54:01 +07:00
<form action="<?php echo base_url().'api/barang/add_barang' ?> " method="post">
<table class="add" cellspacing="20">
<tr>
<td>Nama Barang</td>
<td colspan="3"><input type="text" name="nama_barang" value="" class="input"/></td>
</tr>
<tr>
<td>Harga</td>
<td colspan="3"><input type="text" name="harga" value="" class="input"/></td>
</tr>
<tr><td></td>
<td></td>
<td><input type="submit" name="submit" value="Simpan"/></td>
<td><button type="button" name="Cancel" value="OK">Cancel</button></td>
</tr>
</table>
</form>