Ejemplo n.º 1
0
    <div class="field">
        <?php 
echo Form::label('user.sex', 'Choose your sex: ');
?>
        <?php 
echo Form::radio('user.sex', ['male' => 'Man', 'female' => 'Women'], 'male');
?>
    </div>

    <div class="field">
        <?php 
echo Form::label('user.born', 'Select your bithday: ');
?>
        <?php 
echo Form::date('user.born', '1940-01-01');
?>
    </div>

    <div class="date">
        <?php 
echo Date::current(true, '-');
?>
        <?php 
echo Date::now();
?>
        <?php 
echo Date::year();
?>
        <?php 
echo Date::diff('01.01.2015', '01.01.2016');