Extension for Nette Framework: Some of form controls modified (no-translate select box options, checkbox list, changeable label text input, etc)
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
tests
.gitignore
.travis.yml
LICENSE
README.md
composer.json

README.md

Build Status Latest Stable Version License Total Downloads Gitter

controls

Extension for Nette Framework: Some of form controls modified (no-translate select box options, checkbox list, changeable label text input, etc)

1, Register extension

extensions:
  controls: Ublaboo\Controls\DI\ExtensionsExtension

NotTranslatableRadioList

This control allows translating input names but not datio titles

$form->addNotTranslatableRadioList('Name', $values);

NotTranslatableSelectBox

The same, but with Selet and it's options

$form->addNotTranslatableSelect('Name', $options);

TextInputCustomLabel

You know, when you want to change input's label for example in form factory, the label stays unchanged when rendering form in template. This can be changed by using TextInputCustomLabel:

$form->addTextCustomLabel('name', 'Name');