<?php $__env->startSection('content'); ?>
<div class="page-header">
    <div class="page-title">
        <h3>Muncicipal Numbers</h3>
        <span>Good morning, John!</span>
    </div>
</div>
	

<div class="row">
    <div class="col-md-12">
        <?php if(Session::has('msg')): ?>
		 <div class="alert alert-<?php echo Session::get('class'); ?>"><?php echo Session::get('msg'); ?></div>
		<?php endif; ?>	
        <div class="widget box">
            <div class="widget-content">
               <?php echo Form::open(['route'=>['admin.municipal-numbers.create'], 'class'=>'form-horizontal row-border']); ?>

                <div class="form-group">
                    <h4 class="col-md-2 control-label"><i class="icon-plus"></i>Add New</h4>
                    
                </div>
                <div class="form-group">
                    <label class="col-md-2 control-label">County </label>
                    <div class="col-md-4">
                      <?php echo Form::select('CountyID',($select + $counties), Input::old('CountyID'), ['class'=>'form-control CountyID']); ?>

                     </div>
                </div>
                <div class="form-group">
                    <label class="col-md-2 control-label">City </label>
                    <div class="col-md-4">
                         <?php echo Form::select('CityID',($select + $cities), Input::old('CityID'), ['class'=>'form-control CityID']); ?>

                    </div>
                </div>
                <div class="form-group">
                    <label class="col-md-2 control-label">Water Contact Nº: </label>
                    <div class="col-md-6">
						<?php echo Form::text('WaterContactNo'); ?>

                    </div>
                </div>
                <div class="form-group">
                    <label class="col-md-2 control-label">Building Contact Nº </label>
                    <div class="col-md-3">
                        <?php echo Form::text('BuildingContactNo'); ?>

                    </div>
                </div>
                <div class="form-group">   
                    <label class="col-md-2 control-label">Code Contact Nº</label>
                    <div class="col-md-3">
                        <?php echo Form::text('CodeContactNo'); ?>

                    </div>
                    
                </div>

                <div class="btn-toolbar align-right">
                    <button type="submit" class="btn btn-primary save">Save</button>
                    <button onclick="window.location='<?php echo URL::route('admin.municipal-numbers.index'); ?>'" type="button" class="btn" data-toggle="button">Close</button>
                </div>

                <?php echo Form::close(); ?>

            </div>
        </div>
    </div>
</div>

<?php $__env->stopSection(); ?>

<?php echo $__env->make('cpanel.layouts.main', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>