Ghost/core/client/templates/components/gh-role-selector.hbs
Jason Williams 6f595c959a Update syntax in ember templates.
No Issue.
- Outlet names must be quoted.
- {{#each}} helper will no longer implicitly switch context.
  Change usage to {{#each foo in bar}}.
2014-12-06 16:30:57 +00:00

6 lines
154 B
Handlebars

<select {{bind-attr id=selectId name=selectName}}>
{{#each role in roles}}
<option {{bind-attr value=role.id}}>{{role.name}}</option>
{{/each}}
</select>