<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">
<h1>Administratie</h1> <?php echo App\Http\Helpers\Flash::display_messages(); ?> <p> <a href="administratie/nieuwe_maaltijd"> <img src="/images/add.png" alt="" /> Nieuwe maaltijd toevoegen </a> </p> <form action="" method="get"> <p> Toon <?php echo Form::select('count', array('5' => '5', '13' => '13', '25' => '25', '100' => '100', '0' => 'alle'), Request::get('count', 10), ['id' => 'count']); ?> maaltijden per lijst </p> </form> <h2>Komende maaltijden</h2> <?php echo View::make('dashboard/_meals', array('meals' => $upcoming_meals)); ?> <h2>Afgelopen maaltijden</h2> <?php echo View::make('dashboard/_meals', array('meals' => $previous_meals));