Presents basic information about the structure of the handlebars templates in ember-flexberry applications

General information on how to create templates, see Ember’s documentation.

Templates are located in the folder templates.

The application template

A typical template (template) for the Ember application application.js:

<div class="ui page grid menu">
  <a class="brand item" href="#">Flexberry prototype written in Ember.js</a>
<div class="ui page grid">
  <div class="four wide column">
    {{render "sitemap" sitemap}}
  <div class="twelve wide column">
    {{outlet 'modal'}}

The controller application needs to be determined structure sitemap for displaying in the menu of the site (as is done here).

  • Pstrfoutlet` rendered templates relevant to the current route parameters.
  • Pstrfoutlet ‘modal’` being rendered in a modal window.

Form templates

On templates forms added various controls can be added validation.

Templates list of forms is usually added Flexberry Objectlistview. On templates forms creating and editing - controls for editing.