コード例 #1
0
            </div>

            <div class="modal-body"> 
                              
				{{Form::open(array('url'=>'surveillance/getChecklist','method'=>'post','class'=>'form-horizontal','data-toggle'=>'validator','role'=>'form'))}}
				  
				{{Form::hidden('sia_number','SIA'.'_'.date('d').'_'.date('m').'_'.date('Y').'_'.time())}}
					
            
                    <div class="form-group ">
                                           
											{{Form::label('check_list_name', 'Check List Name', array('class' => 'col-xs-4 control-label'))}}
											<div class="col-xs-6">
											<select id="check_list_name" name='checklist_name' class="demo-default" placeholder="">
											<?php 
$options = CommonFunction::getChecklistName();
?>
												<option value="">Select Checklist Name..</option>
												@foreach($options as $option)
												<option value="{{$option}}">{{$option}}</option>
												@endforeach
											</select>
											</div>
											
                    </div>
                    <div class="form-group ">
                                           
											{{Form::label('check_list_type', 'Check List Type', array('class' => 'col-xs-4 control-label'))}}
											<div class="col-xs-6">
											<select id="check_list_type" name='checklist_type' class="demo-default" placeholder="">
											<?php 
コード例 #2
0
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                    <h4 class="modal-title">Add Question</h4>
                </div>

                <div class="modal-body">
                                  
                   {{Form::open(array('url'=>'saveChecklistQuestion','method'=>'post','class'=>'form-horizontal','data-toggle'=>'validator','role'=>'form'))}}

                    <div class="form-group ">
                        <label class="col-xs-4 control-label" for="">Checklist Name</label>
                        <div class="col-xs-6 ">
                        <?php 
$clName = CommonFunction::getChecklistName();
?>
											<select required id="checklist_name" name='checklist_name'class="demo-default" >
												<option value="">Select Or Add Checklist Name</option>
												@foreach($clName as $info)
												<option value="{{$info}}">{{$info}}</option>
												@endforeach 
											</select>
                      
                        </div>
                    </div>
                    <div class="form-group ">
                        <label class="col-xs-4 control-label" for="">Checklist Type</label>
                        <div class="col-xs-6 ">
                        <?php 
$clType = CommonFunction::getChecklistType();