RobinMalfait / Laravel-auto-form-generator

Laravel automatic form generator
78 stars 26 forks source link

How to generate form from a model, I do with tables and it work #16

Open sibinx7 opened 9 years ago

sibinx7 commented 9 years ago

Sir,

This is not an issue, i want one example to generate forms from model...

{{ Form::model($model = new Admin()) }} {{ Formgenerator::generate($model) }} {{ Form::close() }}

This may be a wrong method

{{ Form::open() }} {{ Formgenerator::generate('table-name') }} {{ Form::close() }} works, Please give me some example with model..

Thanks