<h1>Maaltijd bewerken</h1> <?php echo App\Http\Helpers\Flash::error_messages_for(Session::get('validation_errors')); ?> <form action="/administratie/<?php echo $meal->id; ?> " method="post" accept-charset="utf-8"> <p> <label class="label" for="meal_timestamp">Datum en tijd</label><br> <input type="text" value="<?php echo date('d-m-Y G:i', strtotime($meal->meal_timestamp)); ?> " name="meal_timestamp"> </p> <p> <label class="label" for="locked_timestamp">Inschrijving sluit op</label><br> <input type="text" value="<?php echo date('d-m-Y G:i', strtotime($meal->locked_timestamp)); ?> " name="locked_timestamp"> </p> <p> <label class="label" for="event">Omschrijving</label><br> <input type="text" value="<?php echo $meal->event; ?> " name="event">