I am populating a radio button by using form::model in laravel. The populate form is in blade php. Why is the radio button not populating automatically like the textarea, textbox and drop down list?
{{ Form::model($teacher, array('route'=> array('updateteacher', $teacher->id))) }}
{{ Form::label('gender', 'Enetr your gender') }}
{{ Form::label('male', 'Male') }}
{{ Form::radio('gender', 'male') }}
{{ Form::label('famle', 'Female') }}
{{ Form::radio('gender', 'female', $teacher->gender==1) }}
{{ Form::close() }}
I'm working in laravel 4.2, the table name is teacher and column name is gender.
Form::model, be sure to close your form withForm::close. Is there an error or something? Can you give some more information about what is going wrong?