bootstrap 4 inline form elements
- dkorpar
- Member | 136
https://github.com/…ms-bootstrap
supports bootstrap grid system
https://github.com/…master/.docs#grid
- matc1
- Member | 19
dkorpar wrote:
https://github.com/…ms-bootstrap supports bootstrap grid system
https://github.com/…master/.docs#grid
Thank's a lot!
- matc1
- Member | 19
dkorpar wrote:
https://github.com/…ms-bootstrap supports bootstrap grid system
https://github.com/…master/.docs#grid
Hi, excuse me, i try this examples but i don't see anything on browser,
i use stand alone form.
I use php 7.3.
<?
require_once ‘vendor/autoload.php’;
use Contributte\FormsBootstrap\BootstrapForm;
use Contributte\FormsBootstrap\BootstrapRenderer;
use Contributte\FormsBootstrap\Enums\RenderMode;
use Contributte\FormsBootstrap\BootstrapUtils;
use Nette\Application\UI\Presenter;
$form = new BootstrapForm;
$form->setRenderer(new BootstrapRenderer(RenderMode::INLINE));
$form->addError(‘form-wide error’);
$form->addText(‘text’, ‘text input’);
?>
Thanks
- dkorpar
- Member | 136
Hm, sadly this is not really supported as you need full framework.
https://github.com/…master/.docs#…
Although this should work:
echo $form->getRenderer()->render($form);