Sindbad~EG File Manager
@extends('layout')
@section('title')
<title>IC Consent</title>
@stop
@section('scriptTop')
{{ HTML::script('/js/ajaxloader.js') }}
{{ HTML::script('/js/jquery.validate.js') }}
{{ HTML::script('/js/jquery.common.js') }}
{{ HTML::script('/js/custom.js') }}
@stop
@section('scriptBottom')
<script type="text/javascript">
var baseUrl = "{{ url('/') }}";
$(function () {
var limit = 250;
$('textarea[id$=txtCOIReason]').keyup(function () {
var len = $(this).val().length;
if (len > limit) {
// this.value = this.value.substring(0, limit);
}
$("#spnCOIReason").text(limit - $(this).val().length);
});
});
// Setp1
$(document).ready(function () {
validation();
});
function validation()
{
$("#form_coi_reason").validate({
rules: {
txtCOIReason: {
required: true,
maxlength:250
}
}
});
}
</script>
@stop
@section('content')
@section('ContentTitle',"Give your Consent")
<div id="frm">
{{ Form::open(array('url' => 'ic/store_coi_reason','role'=>'form','id'=>'form_coi_reason')) }}
{{ Form::hidden('hdnCOIId', $coi->author_id,array('id'=>'hdnCOIId')) }}
<!--step 2 details -->
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12">
<h4>IC{{ $ic->abs_no }} - {{ $ic->title }} <br /><br /> Topic : {{ $coi->topic }} <br /><br />
Duration : {{ $coi->duration }} mins </h4>
</div>
</div>
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12">
<label>Reason for not accepting the consent <sup>*</sup> <span id="spnCOIReason" class="reqspan">250</span> characters left. </label>
{{ Form::textarea('txtCOIReason',null,array('class' => '', 'id' => 'txtCOIReason' , 'placeholder' => '','rows' => 2)) }}
</div>
</div>
<div class="row margin30">
<div class="col-lg-12 col-md-12 col-sm-12 text-center">
<input type="submit" value="Submit" id ="btnsubmit" class="btn primary button-large">
</div>
</div>
{{ Form::close() }}
</div>
@stop
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists