@extends("layout") @section("content")
{{trans('messages.edit-test-type')}}
{{ Form::model($testtype, array( 'route' => array('testtype.update', $testtype->id), 'method' => 'PUT', 'id' => 'form-edit-testtype' )) }}
@if($errors->all())
{{ HTML::ul($errors->all()) }}
@endif
{{ Form::label('name', Lang::choice('messages.name',1)) }} {{ Form::text('name', Input::old('name'), array('class' => 'form-control')) }}
{{ Form::label('description', trans('messages.description')) }} {{ Form::textarea('description', Input::old('description'), array('class' => 'form-control', 'rows' => '2' )) }}
{{ Form::label('test_category_id', Lang::choice('messages.test-category',1)) }} {{ Form::select('test_category_id', array(0 => '')+$testcategory->lists('name', 'id'), Input::old('test_category_id'), array('class' => 'form-control')) }}
{{ Form::label('specimen_types', trans('messages.select-specimen-types')) }}
@foreach($specimentypes as $key=>$value) {{ ($cnt%4==0)?"
":"" }}
{{ ($cnt%4==0)?"
":"" }} @endforeach
{{ Form::label('measures', Lang::choice('messages.measure',2)) }}
@include("measure.edit")
{{trans('messages.add-new-measure')}}
{{ Form::label('targetTAT', trans('messages.target-turnaround-time')) }} {{ Form::text('targetTAT', Input::old('targetTAT'), array('class' => 'form-control')) }}
{{ Form::close() }}
@include("measure.measureinput") @stop