Sha256: df1c9a9707d1e97f530fddebf8c76160bcab343a4d0b1d63f85f837057a74bb7

Contents?: true

Size: 1.29 KB

Versions: 1

Compression:

Stored size: 1.29 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="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? :destroy, 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? :destroy, 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>

<%= will_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

1 entries across 1 versions & 1 rubygems

Version Path
enju_news-0.0.4 app/views/news_feeds/index.html.erb