orchidsoftware / crud

Simplify the process of building CRUD (Create, Read, Update, Delete) functionality in Laravel using the features of Orchid.
https://orchid.software
MIT License
138 stars 34 forks source link

Edit pages #2

Closed jouniikaheimo closed 3 years ago

jouniikaheimo commented 3 years ago

Hi any change edit page split two columns? example left col-md-9 and right col-md-3?

tabuna commented 3 years ago

Hey @jouniikaheimo . This is an elementary package. No layouts can be changed. You can try using field concatenation:

use Orchid\Screen\Fields\Group;
use Orchid\Screen\Fields\Input;

Group::make([
    Input::make('first_name'),
    Input::make('last_name'),
]);

Also, to improve the appearance, you can use horizontal margins:

Input::make('first_name')->horizontal(),

If you need more, consider using Orchid only, it gives more options.