You've already forked ci_restful
first commit
This commit is contained in:
18
application/views/add.php
Normal file
18
application/views/add.php
Normal file
@ -0,0 +1,18 @@
|
||||
|
||||
<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>
|
Reference in New Issue
Block a user