Each page within the rental app has its own template to display that page's content.
Where to save template files
Template files will go in a folder that has the same name as the app instance key. For example, if the rental app instance key is "rental" then you would put all of your template files within the rental folder inside the templates folder.
If your theme was called "Custom" then this would be an example folder structure:
Rental app pages and their templates
Below is the list of rental app pages and the name of the template file that you should create.
The app home page often shows the properties and/or categories.
Template name: home.twig
This page shows the list of properties that have units that are available for rent.
Template name: avaiable-properties.twig
This page shows the list of categories.
Template name: categories.twig
This page shows the detail information for an individual category. The properties assigned to the category are often shown.
Template name: category.twig
This page shows the full details for an individual property.
Template name: property.twig
This page shows a paginated list of properties.
Template name: properties.twig
This page shows the detail information for the property unit.
Template name: property-unit.twig
The search page can be used to show the form to search for properties.
Template name: search.twig
The search results page can show the results of an app search. It can show a paginated list of matching properties or property units.
Template name: search-results.twig
Public users can log into the website to manage their rental accounts. Below is the list of account specific rental app pages.
This is where they will log into their account.
This page is the landing page for the account. It's where they go when they log in if they weren't coming from a password protected page or another page that requires a login. If they were coming from a password protected page or another page that requires a login, then they would be redirected back to that page.
The account edit page shows a form that allows an account holder to update their profile and login information.
This page allows the account holder to request a password reset if they are having trouble logging in.
Shows a form to allow new account holders to register themselves.