2 months ago

How to Style Role View to Three Columns

Posted 2 months ago by noblemfd

I am using Laravel-5.8 for Spatie role based. I have no problem with the Spatie, but the only thing is that the Role Permission Checkbox is only on column and its too long.

<div class="col-xs-12 col-sm-12 col-md-12">
    <div class="form-group">
        @foreach($permission as $value)
            <label>{{ Form::checkbox('permission[]', $value->id, false, array('class' => 'name')) }}
            {{ $value->name }}</label>

How do I style it that it will be three (3) column like col-md-4 into order to allow it spread, look more attractive and occupy less space.

Thank you

Please sign in or create an account to participate in this conversation.