On Tuesday, 8 August 2017 at 13:22:58 UTC, Steven Schveighoffer wrote:
On 8/8/17 9:10 AM, Suliman wrote:
Yes, thanks what: extends layout mean?


It means that your final file will be layout.dt, but with the block statements replaced with the contents defined by the specific view file.

Think of it like an interface, where the "blocks" are function prototypes, and your specific view file is a class that implements the interface, where you implement the functions by defining the blocks.

-Steve

Could you show how to improve my code above? I can't get it work...

Reply via email to