@extends("layout") @section("content")
{{ Form::open(array('route' => array('reports.aggregate.prevalence'), 'id' => 'prevalence_rates', 'method' => 'post')) }}
{{ Form::label('start', trans("messages.from")) }}
{{ Form::text('start', isset($input['start'])?$input['start']:date('Y-m-d'), array('class' => 'form-control standard-datepicker')) }}
{{ Form::label('to', trans("messages.to")) }}
{{ Form::text('end', isset($input['end'])?$input['end']:date('Y-m-d'), array('class' => 'form-control standard-datepicker')) }}
{{ Form::label('test_type', Lang::choice('messages.test-type',1)) }}
{{ Form::select('test_type', array(0 => '-- All Tests --')+TestType::supportPrevalenceCounts()->lists('name','id'), isset($input['test_type'])?$input['test_type']:0, array('class' => 'form-control')) }}
{{Form::submit(trans('messages.view'), array('class' => 'btn btn-info', 'id'=>'filter', 'name'=>'filter'))}}
{{ Form::close() }}
{{ trans('messages.positivity-rates') }}
@if (Session::has('message'))
{{ trans(Session::get('message')) }}
@endif
{{ HTML::script('highcharts/highcharts.js') }} {{ HTML::script('highcharts/exporting.js') }} @stop