<% # encoding: utf-8 %>

<%= flash_messages %>

<%= paginate @web_links, :params => {:inner => false}%>

<h1><%= t('web_link.list_web_resource') %></h1>


	<table>
	  <tr>
		<th><%= t(:category) %></th>
		<th><%= t(:name) %></th>
	  </tr>

	<% @web_links.each do |post| %>
	  <tr>
		<td><%= post.web_link_category.title rescue nil %></td>
		<td>
		<%#= link_to post.title, panel_web_resource_front_end_web_link_path(post) %>
		<%= link_to post.title, post.url, {:target => '_blank', :title => post.title} %>
		</td>
	  </tr>
	  
	<% end %>
	
	</table>

<br />

