
<?php $__env->startSection('content'); ?>
<div class="content">

    <div class="content-container">

      

      <div class="content-header">
        <h2 class="content-header-title">Meal Plan Management( <?php echo $hotel->name; ?> )</h2>
        <ol class="breadcrumb">
          <li><a href="index-2.html">Home</a></li>
          <li><a href="javascript:;">Hotels</a></li>
          <li class="active">Rooms</li>
        </ol>
      </div> <!-- /.content-header -->
<?php echo Form::open(array('url'=>'admin/insertmealplan','files'=>true)); ?>

<?php if(Session::has('error')): ?>
    <div class="alert alert-danger">
        <a class="close" data-dismiss="alert" href="#" aria-hidden="true">×</a>
        <strong>Oh snap!</strong> <?php echo Session::get('error'); ?>

      </div>
<?php endif; ?>
<?php if(Session::has('success')): ?>
    <div class="alert alert-success">
        <a class="close" data-dismiss="alert" href="#" aria-hidden="true">×</a>
        <strong>WOW!</strong> <?php echo Session::get('success'); ?>

      </div>
<?php endif; ?>

                <div class="form-group">
                  <label for="name">Meal Plan</label>
                   <input type="hidden" id="hotelid" value="<?php echo $hotelid; ?>" name="hotelid" class="form-control" data-required="true" >
                  <input type="text" id="name" name="name" class="form-control" data-required="true" >
                </div>

  

                          <div class="form-group">
                  <button type="submit" class="btn btn-primary">Add</button>
                </div>

              </form>

      <h4 class="heading">Table Gallery</h4>

      <div class="row">

        <div class="col-md-12">

          <div class="table-responsive">

  <table class="table table-bordered">
            <thead>
              <tr>
                <th>#</th>
                <th>Name</th>
                <th>Address</th>
                <th>rating</th>
                <th>Status</th>
              </tr>
            </thead>
            <tbody>

            <?php foreach($data as $room): ?>
              <tr>
                <td>1</td>
                <td><?php echo $room->name; ?></td>
                <td><?php echo $room->name; ?></td>
                <td><?php echo $room->name; ?></td>
                <td>
                  <a href="<?php echo URL('admin/edithotel'); ?>/<?php echo $room->id; ?>"> <span class="label label-secondary">Edit</span></a>
                  <a href="<?php echo URL('admin/room/images'); ?>/<?php echo $room->id; ?>"> <span class="label label-success">Images</span></a>
                  <a href="hello"> <span class="label label-primary">Delete</span></a>
                </td>
              </tr>
              <?php endforeach; ?>
             
            </tbody>
          </table>

          </div> <!-- /.table-responsive -->


        </div> <!-- /.col -->

      </div> <!-- /.row -->



      <br>





      <br>


        

    </div> <!-- /.content-container -->
      
  </div>
<?php $__env->stopSection(); ?>


<?php echo $__env->make('admin.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>