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

    <div class="content-container">

      

      <div class="content-header">
        <h2 class="content-header-title"><?php echo $data->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/updateroom','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; ?>
              <input type="text" id="roomid" readonly name="roomid" value="<?php echo $data->id; ?>" class="form-control" data-required="true" >
                <div class="form-group">
                  <label for="name">Room Name</label>
                  <input type="text" id="name" name="name" value="<?php echo $data->name; ?>" class="form-control" data-required="true" >
                </div>

                 <div class="form-group">
                  <label for="name">Room FROM Price</label>
                  <input type="text" id="price" name="price" value="<?php echo $data->price; ?>" class="form-control" data-required="true" >
                </div>


                      <div class="row">
                 
                          <div class="col-sm-12">
                            <label>Room Description</label>
                            <textarea name="description"><?php echo $data->description; ?></textarea>
                          </div> <!-- /.col -->
                      </div> <!-- /.row -->         


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

              </form>

      </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(); ?>