<div class="page-content-wrapper">
    <div class="page-content">
        <div class="row">
            <div class="col-md-12">
                <!-- BEGIN EXAMPLE TABLE PORTLET-->
                <div class="portlet box blue">
                    <div class="portlet-title">
                        <div class="caption">
                            <i class="fa fa-user"></i>Vacations
                        </div>
                        <div class="actions">
                            <a class="btn btn-default btn-sm" href="{$hosturl}/controllers/{$control_name}.php?ac=show">
                                <i class="fa fa-eye"></i> Show </a>
                        </div>
                    </div>
                    <div class="portlet-body">
                        <!--Begin Semen-->
                        <div class="row">
                            <div class="portlet-title tbox">
                                <div class="caption font-blue-haze col-md-6">
                                    <span class="caption-subject bold uppercase">Add new</span>
                                </div>
                            </div>
                            <div class="clearfix"></div>
                            <form action="{$hosturl}/controllers/{$control_name}.php?ac=add" class="awval" method="post">
                                <div class="form-body" style="padding: 15px 10px;">
                                    <div class="row">
                                        <div class="col-md-8">
                                            <div class="form-group ">
                                                <label class="col-md-2 txtl">Vacation reason</label>
                                                <div class="col-md-10">
                                                    <input class="form-control" name="vacation_reason" required placeholder="Day title or name" type="text">
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-4">
                                            <div class="form-group ">
                                                <label class="col-md-2 txtl">Date</label>
                                                <div class="col-md-10">
                                                    <input type="text" class="form-control datepicker" required value="{'today'|date_format:'Y-m-d'}" name="vacation_date" readonly/>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>

                                <div class="form-actions" style="padding: 15px 10px;">
                                    <div class="row">
                                        <div class="col-md-12">
                                            <a class="btn default" href="{$hosturl}/controllers/{$control_name}.php?ac=show">Cancel</a>
                                            <button class="btn blue" type="submit">Submit</button>
                                        </div>
                                    </div>
                                </div>
                            </form>

                        </div>
                    </div>
                </div>
            </div>

        </div>
    </div>
</div>


