Registering twig to project
This commit is contained in:
34
App/Views/Data/entry_pengumuman.html
Normal file
34
App/Views/Data/entry_pengumuman.html
Normal file
@@ -0,0 +1,34 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Tambah Pengumuman</title>
|
||||
</head>
|
||||
<body>
|
||||
<form method="post">
|
||||
<h3>Tambah Pengumuman</h3>
|
||||
|
||||
<label for="kategori">Kategori</label>
|
||||
<select name="kategori">
|
||||
<option value="kategori_1">Kategori 1</option>
|
||||
<option value="kategori_2">Kategori 2</option>
|
||||
<option value="kategori_3">Kategori 3</option>
|
||||
<option value="kategori_4">Kategori 4</option>
|
||||
</select>
|
||||
|
||||
<label for="konten">Konten</label>
|
||||
<textarea name="konten" rows="8" cols="120"></textarea>
|
||||
|
||||
<!-- Current Timestamp -->
|
||||
<input type="hidden" name="_currts" value="##CURRENT_TIMESTAMP##">
|
||||
|
||||
<!-- Method -->
|
||||
<input type="hidden" name="_method" value="post">
|
||||
|
||||
<!-- Token -->
|
||||
<input type="hidden" name="_token" value="##TOKEN##">
|
||||
|
||||
<button type="submit" name="entry">Entry</button>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user