Sha256: 5bdbcbba70a4361507edf4911a53dec683100aaff7db6da0f80977e48425ab43

Contents?: true

Size: 905 Bytes

Versions: 1

Compression:

Stored size: 905 Bytes

Contents

<h2>{{t 'communities.index.title'}}</h2>

{{#if anyItems}}
<table class="table table-striped" style="margin-top:15px;">
  <tbody>
  {{#each model as |community|}}
    <tr>
      <td>
        {{#link-to 'community.feedbacks' community.slug 1}}{{community.name}}{{/link-to}}
      </td>
      <td>
        {{#link-to 'edit_community' community.slug}}
          <span class="glyphicon glyphicon-pencil"></span> {{t 'general.edit'}}
        {{/link-to}}
         | 
        <a {{action 'destroy' community.slug}} class="remove_community_link">
          <span class="glyphicon glyphicon-remove"></span> {{t 'general.remove'}}
        </a>
      </td>
    </tr>
  {{/each}}
  </tbody>
</table>
{{else}}
  {{t 'communities.index.empty_collection'}}
{{/if}}

{{partial 'shared/pagination'}}

{{#link-to 'new_community'}}
  <span class="glyphicon glyphicon-plus"></span> {{t 'communities.new.title'}}
{{/link-to}}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
voluntary_feedback-0.1.0 app/assets/javascripts/voluntary_feedback/templates/communities.js.handlebars