Skip to content

Instantly share code, notes, and snippets.

@jxlwqq
Last active June 26, 2020 13:17
Show Gist options
  • Save jxlwqq/959d9310d2e78963c02b1f6151942ffb to your computer and use it in GitHub Desktop.
Save jxlwqq/959d9310d2e78963c02b1f6151942ffb to your computer and use it in GitHub Desktop.
Place Input Fields Side-by-Side
<?php
protected function form()
{
$form = new Form(new ModelName);
$form->row(function ($row) {
$row->width(4)->text('email');
$row->width(4)->text('password');
$row->width(4)->text('password_confirmation');
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment