Sha256: 7b8b97aaa311964af6d5cb5ab1faec6a9bcc12355bfb34dda65634b6b8887dc7
Contents?: true
Size: 1.34 KB
Versions: 4
Compression:
Stored size: 1.34 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 policy(news_feed).update? -%> <%= 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 policy(news_feed).update? -%> <%= link_to t('page.edit'), edit_news_feed_path(news_feed) -%> <%- end -%> <%- if policy(news_feed).destroy? -%> <%= 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
4 entries across 4 versions & 1 rubygems