php - Laravel Asgard CMS drop down from database in create view -
i learning laravel , trying laravel based asgard cms. don't have complete knowledge of laravel stuck @ something.
i have package table in database, holds - package name, price, id.
i have table holds clients data - name, package, address.
what want achieve when creating client, should able assign him package. want drop down package table in create view can guide me?
here create view file.
<div class="box-body"> <p> {!! form::normalinput('name', 'your name', $errors) !!} {!! form::normalinput('package', 'your package', $errors) !!} {!! form::normalinput('address', 'your address', $errors) !!} {!! form::normalinput('zone', 'your zone', $errors) !!} </p>
Comments
Post a Comment