nette template by David Grudl fixed

check http://bit.ly/WBiwei