doc/book/en/intro/tutorial/maintemplate.rst
branchstable
changeset 4751 1a9d2c3c7f0c
parent 4446 a413fac5ff5e
equal deleted inserted replaced
4750:875dc33551a9 4751:1a9d2c3c7f0c
   114 The MainTemplate is a bit complex as it tries to accomodate many
   114 The MainTemplate is a bit complex as it tries to accomodate many
   115 different cases. We are now about to go through it and cutomize entirely
   115 different cases. We are now about to go through it and cutomize entirely
   116 our application.
   116 our application.
   117 
   117 
   118 TheMainTemplate is responsible for the general layout of the entire application.
   118 TheMainTemplate is responsible for the general layout of the entire application.
   119 It defines the template of ``id = main`` that is used by the application. Is
   119 It defines the template of ``__regid__ = main`` that is used by the application. Is
   120 also defined in ``cubicweb/web/views/basetemplates.py`` another template that can
   120 also defined in ``cubicweb/web/views/basetemplates.py`` another template that can
   121 be used based on TheMainTemplate called SimpleMainTemplate which does not have
   121 be used based on TheMainTemplate called SimpleMainTemplate which does not have
   122 a top section.
   122 a top section.
   123 
   123 
   124 .. image:: ../../images/lax-book.06-simple-main-template.en.png
   124 .. image:: ../../images/lax-book.06-simple-main-template.en.png