Sindbad~EG File Manager
@extends('poll.layoutapp')
@section('title')
<title>Poll view</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('css')
{{-- HTML::style('/css/polls.css') --}}
@stop
@section('scriptBottom')
<script type="text/javascript">
</script>
@stop
@section('content')
@section('ContentTitle')
{{ CustomClass::$Title }}
@stop
<div class="container">
<br />
<div class="row">
<div class="col-md-12">
{{ Form::open(array('url' => 'poll/'.$poll->poll_id.'/'.$user_id,'role'=>'form','id'=>'form_s1')) }}
<div class="form-group" id="poll">
<h2> {{ $poll->title }}</h2>
<h4>{{$poll->description }}</h4>
<h4>Start : {{ Helper::fromDBDateTime($poll->start_at) }} <br />
End : {{ Helper::fromDBDateTime($poll->end_at) }} </</h4>
</div>
@if(intval($poll->is_text) == 1)
<div class="form-group">
{{ Form::textarea('option_text',null,array('class'=>'','placeholder'=>'Please enter your command')) }}
</div>
@else
<div class="form-group" id="response">
@foreach($options as $option)
<label> {{ Form::radio('option', $option->poll_option_id ) }} {{$option->option_text}} </label>
@endforeach
</div>
@endif
<div class="form-group text-center">
{{ Form::Submit('Submit', array('class' => 'btn btn-primary btn-lg btn-block')) }}
</div>
<div class="form-group text-center">
<a href="{{ url('/polls').'/'.$user_id }}" class="btn btn-danger">Go Back</a>
</div>
{{ Form::close() }}
</div>
</div>
</div>
{{-- <div class="row">
<div class="col-sm-12">
<!-- Category -->
<div class="single category">
<ul class="list-unstyled">
<li>
</li>
</ul>
</div>
</div>
</div> --}}
</div>
@stop
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists