Skip to content

Repeater format more compact (like KeyValue) #3429

Answered by danharrin
pedrocoelho98 asked this question in Help
Discussion options

You must be logged in to vote

There isn't really a way to move the labels like that, but you can remove the containers to make it more compact

Copied the repeater.blade.php, removed all the container padding, and then saved it in a Blade file like views/forms/compact-repeater.blade.php. And then pass in ->view('forms.compact-repeater') to the Repeater when you use it.

However, a new ->compact() method for the repeater that modifies the existing layout for you would be nice. Want to PR?

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@pedrocoelho98
Comment options

@danharrin
Comment options

@pedrocoelho98
Comment options

@myregistration
Comment options

Answer selected by pedrocoelho98
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants