New Request page
New Request page
The New Request page template is rendered when an end user clicks a link to submit a request.
Available properties
You can use the following properties in the New Request page template.
Name | Type | Description |
---|---|---|
parent | object | A request object that represents a related closed request. It may or may not exist |
promoted_articles | array | An array of promoted article objects |
ticket_forms | array | An array of ticket form objects |
help_center | object | A help_center object that holds information and settings about the current help center |
settings | object | A settings object with custom settings for the current theme |
signed_in | boolean | Whether the user is logged in or not |
featured_posts | array | An array of featured post objects |
Available helpers
You can use the following helpers in this page template. You can also use any built-in helpers, global helpers, or global advanced helpers.
Name | Description |
---|---|
breadcrumbs | Breadcrumbs for the Request list page. See breadcrumbs helper |
follow_up | Link to the parent request, if it exists. See follow_up helper |
request_form | The request form. See request_form helper |
Example
<nav class="sub-nav">
{{breadcrumbs}}
{{search}}
</nav>
<h1 class="page-header">
{{t 'submit_a_request'}}
{{#if parent}}
<span class="follow-up-hint">
{{follow_up}}
</span>
{{/if}}
</h1>
<div class="form">
{{request_form}}
</div>