<h4 class="room-detail">Room Templates</h4>

<div>
  <div class="panel-group" ng-repeat="template in editTemplate.templates track by $index">
    <div class="panel panel-default" >
      <div class="panel-heading">
        <h6 class="panel-title">{{template.name}}</h6>
      </div>
      <div class="panel-collapse">
        <div class="panel-body">
          <p>Created On: {{template.created_at}}</p>

          <button class="btn btn-primary pull-right" type="button" ng-click="select(template)">Select</button>
        </div>
      </div>
    </div>
  </div>
</div>

<div>
  <a ui-sref="virtual-editor.main" class="btn btn-primary btn-prev"><i class="fa fa-caret-left"></i> Back</a>
</div>