Posts valid and expire can now be edited

This commit is contained in:
Gregorio Chiko Putra 2017-09-07 10:46:37 +07:00
parent d3d2ba1455
commit 041e4dd2dd

View File

@ -40,17 +40,13 @@
<br>
<label>Berlaku dari: </label>
<span>
{{ post.valid_at }}
</span>
<label for="valid_at">Berlaku dari: </label>
<input type="date" name="valid_at" value="{{ post.valid_at }}">
<br>
<label>Berlaku sampai: </label>
<span>
{{ post.expired_at }}
</span>
<label for="expired_at">Berlaku sampai: </label>
<input type="date" name="expired_at" value="{{ post.expired_at }}">
<br>