@extends("layout") @section("content")
{{trans('messages.create-test-category')}}
@if($errors->all())
{{ HTML::ul($errors->all()) }}
@endif {{ Form::open(array('route' => 'testcategory.store', 'id' => 'form-create-testcategory')) }}
{{ 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::button(" ".trans('messages.save'), array('class' => 'btn btn-primary', 'onclick' => 'submit()')) }}
{{ Form::close() }}
@stop