<template name="homes">
  <div class="page-header">
    {{# if isInRole 'admin' }}
    <div class="btn-group pull-right">
      <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
        Add New <span class="caret"></span>
      </button>
      <ul class="dropdown-menu">
        <li>
          <a href="homes/new">
            <i class="fa fa-home"></i> Home
          </a>
        </li>
      </ul>
    </div>
    {{/ if }}
    <h1><i class="fa fa-home"></i> Homes</h1>
  </div>
  {{# if Template.subscriptionsReady }}
    {{# each groups }}
    <div class="panel panel-default">
      <div class="panel-heading">
        <h2 id="{{ name }}-title" class="panel-title">
          {{ name }}
        </h2>
      </div>
      <div class="panel-body">
        <div class="list-group">
          {{# each homes }}
          <a href="/home/{{ _id }}" class="list-group-item"><i class="fa fa-home"></i> {{ name  }}</a>
          {{/ each }}
        </div>
      </div>
    </div>
    {{/ each }}
  {{/ if }}
</template>

<template name="homes">
  <div class="page-header">
    {{# if isInRole 'admin' }}
    <div class="btn-group pull-right">
      <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
        Add New <span class="caret"></span>
      </button>
      <ul class="dropdown-menu">
        <li>
          <a id="new-home">
            <i class="fa fa-home"></i> Home
          </a>
        </li>
      </ul>
    </div>
    {{/ if }}
    <h1><i class="fa fa-home"></i> Homes</h1>
  </div>
  {{# if Template.subscriptionsReady }}
    {{# each groups }}
    <div class="panel panel-default">
      <div class="panel-heading">
        <h2 id="{{ name }}-title" class="panel-title">
          {{ name }}
        </h2>
      </div>
      <div class="panel-body">
        <div class="list-group">
          {{# each homes }}
          <a href="/home/{{ _id }}" class="list-group-item"><i class="fa fa-home"></i> {{ name  }}</a>
          {{/ each }}
        </div>
      </div>
    </div>
    {{/ each }}
  {{/ if }}
</template>

Remove href, for Modal dialogue
Remove href, for Modal dialogue
