dont use tab-width directive (older sphinx does not support, need to build book with older sphinx)
| | |
| | | |
| | | .. literalinclude:: src/authorization/tutorial/templates/login.pt |
| | | :language: xml |
| | | :tab-width: 2 |
| | | |
| | | Change ``view.pt`` and ``edit.pt`` |
| | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| | |
| | | .. literalinclude:: src/authorization/tutorial/templates/edit.pt |
| | | :linenos: |
| | | :language: xml |
| | | :tab-width: 2 |
| | | |
| | | Our ``view.pt`` template will look something like this when we're done: |
| | | |
| | | .. literalinclude:: src/authorization/tutorial/templates/view.pt |
| | | :linenos: |
| | | :language: xml |
| | | :tab-width: 2 |
| | | |
| | | Revisiting the Application |
| | | --------------------------- |
| | |
| | | |
| | | .. literalinclude:: src/views/tutorial/templates/view.pt |
| | | :language: xml |
| | | :tab-width: 2 |
| | | |
| | | .. note:: The names available for our use in a template are always those that |
| | | are present in the dictionary returned by the view callable. But our |
| | |
| | | |
| | | .. literalinclude:: src/views/tutorial/templates/edit.pt |
| | | :language: xml |
| | | :tab-width: 2 |
| | | |
| | | Static Assets |
| | | ------------- |
| | |
| | | |
| | | .. literalinclude:: src/authorization/tutorial/templates/login.pt |
| | | :language: xml |
| | | :tab-width: 2 |
| | | |
| | | Change ``view.pt`` and ``edit.pt`` |
| | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| | |
| | | |
| | | .. literalinclude:: src/authorization/tutorial/templates/edit.pt |
| | | :language: xml |
| | | :tab-width: 2 |
| | | |
| | | Our ``view.pt`` template will look something like this when we're done: |
| | | |
| | | .. literalinclude:: src/authorization/tutorial/templates/view.pt |
| | | :language: xml |
| | | :tab-width: 2 |
| | | |
| | | Revisiting the Application |
| | | --------------------------- |
| | |
| | | |
| | | .. literalinclude:: src/views/tutorial/templates/view.pt |
| | | :language: xml |
| | | :tab-width: 2 |
| | | |
| | | .. note:: The names available for our use in a template are always |
| | | those that are present in the dictionary returned by the view |
| | |
| | | |
| | | .. literalinclude:: src/views/tutorial/templates/edit.pt |
| | | :language: xml |
| | | :tab-width: 2 |
| | | |
| | | |
| | | Static Assets |
| | | ------------- |