{{#unless isEditing}}
{{#each model as |item|}}
{{item.title}}
{{item.pageMode}}
{{/each}}
{{/unless}} {{#if isEditing}}
New Page
{{#if model.usefulPid}}

Link to this page: {{model.usefulPid}}

{{/if}}
{{input id='title' placeholder='title' value=model.title class="form-control" required="required"}}
{{input id='imageUrl' placeholder='URL to your image' value=model.imageUrl class="form-control" required="required"}}
Link One
{{input id='link1title' placeholder='Text' value=model.link1Text class="form-control"}}
{{input id='link1url' placeholder='http://something.com/link' value=model.link1Url class="form-control"}}
Link Two
{{input id='link2title' placeholder='Text' value=model.link2Text class="form-control"}}
{{input id='link2url' placeholder='http://something.com/link' value=model.link2Url class="form-control"}}
Link Three
{{input id='link3title' placeholder='Text' value=model.link3Text class="form-control"}}
{{input id='link3url' placeholder='http://something.com/link' value=model.link3Url class="form-control"}}
Link Four
{{input id='link4title' placeholder='Text' value=model.link4Text class="form-control"}}
{{input id='link4url' placeholder='http://something.com/link' value=model.link4Url class="form-control"}}

{{ model.title }}

{{#if model.noImage }} {{else}} {{/if}}
{{/if}}