{{ Form::open() }} {!! Form::Label('query', 'Dataset:') !!} {!! Form::select('gridtype', $datasets, null, ['id' => 'gridtype', 'class' => 'form-control']); !!} {!! Form::Label('query', 'Year:') !!} {!! Form::select('year', $years, null, ['id' => 'year', 'class' => 'form-control']); !!} {!! Form::Label('query', 'Month:') !!} {!! Form::select('month', array('1' => 'January', '2' => 'February', '3' => 'March', '4' => 'April', '5' => 'May', '6' => 'June', '7' => 'July', '8' => 'August', '9' => 'September', '10' => 'October', '11' => 'November', '12' => 'December'), 'mean', ['class' => 'form-control', 'id' => 'month']); !!} {!! Form::Label('query', 'Dekad:') !!} {!! Form::select('dekad', array('1' => '1', '2' => '2', '3' => '3'), '1', ['class' => 'form-control', 'id' => 'dekad']); !!} {!! Form::Label('query', 'Value type:') !!} {!! Form::select('valuetype', array('actual' => 'actual', 'difference' => 'difference', 'percent_anomaly' => 'percent of normal', 'zscore' => 'z-score'), 'actual', ['class' => 'form-control', 'id' => 'valuetype']); !!} {!! Form::close() !!}