Sha256: c3c8c987800d3100c1648d53ca4c841a1a2ba0a420589ad5a225c76de2e49ccf

Contents?: true

Size: 1.3 KB

Versions: 3

Compression:

Stored size: 1.3 KB

Contents

<div id="content_detail" class="ui-corner-all">
<h1 class="title"><%= t('page.listing', :model => t('activerecord.models.news_feed')) -%></h1>
<div id="content_list">

<table class="table table-striped index">
  <tr>
    <th id="position"></th>
    <th><%= t('activerecord.attributes.news_feed.title') -%></th>
    <th><%= t('activerecord.attributes.news_feed.url') -%></th>
    <th></th>
  </tr>

<%- @news_feeds.each do |news_feed| -%>
  <tr class="line<%= cycle("0", "1") -%>">
    <td>
      <%- if can? :delete, news_feed -%>
        <%= move_position(news_feed) -%>
      <%- end -%>
    </td>
    <td><%= link_to h(news_feed.title), news_feed -%></td>
    <td><%= link_to h(news_feed.url), news_feed.url -%></td>
    <td>
      <%- if can? :delete, news_feed -%>
        <%= link_to t('page.edit'), edit_news_feed_path(news_feed) -%>
        <%= link_to t('page.destroy'), news_feed, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
      <%- end -%>
    </td>
  </tr>
<%- end -%>
</table>

<%= paginate(@news_feeds) -%>

</div>
</div>

<div id="submenu" class="ui-corner-all">
  <ul>
    <li><%= link_to t('page.new', :model => t('activerecord.models.news_feed')), new_news_feed_path -%></li>
    <li><%= link_to t('page.clear_cache'), news_feeds_path(:mode => 'clear_cache') -%></li>
  </ul>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
enju_news-0.1.0.pre5 app/views/news_feeds/index.html.erb
enju_news-0.1.0.pre4 app/views/news_feeds/index.html.erb
enju_news-0.1.0.pre3 app/views/news_feeds/index.html.erb