{{!
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements.  See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership.  The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License.  You may obtain a copy of the License at
*
*     http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
}}

<div id="add-widget-step1">
  <h2>{{t widget.create.wizard.step1.header}}</h2>

  <div id="add-widget-step1-options-body">
    <h4>{{t widget.create.wizard.step1.body.text}}</h4>

    <div class="widgets-info-container row-fluid">
      {{#each option in options}}
        <div class="span6 row-fluid widget-info-section" rel="selectable-tooltip"
          {{translateAttr data-original-title="widget.create.wizard.step1.body.choose.tooltip"}}
          {{action "chooseOption" option.name target="controller"}}>
          <div class="icon span4">
            <a class="widget-icon-image" target="_blank"><img {{bindAttr src="option.iconPath"}}></a>
          </div>
          <div class="label-description span8">
            <p class="label-text">{{option.displayName}}</p>
            <p class="description-text">{{option.description}}</p>
          </div>
        </div>
      {{/each}}
    </div>
  </div>

</div>