Created
September 9, 2010 16:55
-
-
Save janmarek/572165 to your computer and use it in GitHub Desktop.
Gridito template macros
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{gridito usersGrid} | |
{* top toolbar *} | |
{gridito.toolbar.button addUser text => "Nový uživatel", icon => "plusthick", plink => "add"} | |
{* columns *} | |
{gridito.column username text => "Uživatelské jméno", sortable => true} | |
{gridito.column name text => "Jméno", sortable => true} | |
{gridito.column mail text => "E-mail", sortable => true} | |
{gridito.column allowed text => "Aktivní", sortable => true} | |
{gridito.column created text => "Datum založení", sortable => true, dateTimeFormat => "j.n.Y"} | |
{* buttons *} | |
{gridito.button editUser text => "Upravit uživatele", icon => "pencil"} | |
{gridito.button deleteUser text => "Smazat uživatele", icon => "closethick", confirmationQuestion => "Opravdu smazat?"} | |
{/gridito} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Na tohle omezení ze strany Nette už jsem taky hodněkrát narazil, je to škoda :( ...v Rails se takhle např. formuláře definujou standardně v šablonách