<% # encoding: utf-8 %>

<%= flash_messages %>

<%= paginate @web_links %>

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


	<table>
	  <tr>
		<th><%= t('web_link.category') %></th>
		<th><%= t('web_link.name') %></th>
	  </tr>

	<% @web_links.each do |post| %>
	  <tr>
		<td><%= post.web_link_category.i18n_variable[I18n.locale] %></td>
		<td>
		<%#= link_to post.name[I18n.locale], panel_web_resource_front_end_web_link_path(post) %>
		<%= link_to post.name[I18n.locale], post.url, {:target => '_blank', :title => post.name[I18n.locale]} %>
		</td>
	  </tr>
	  
	<% end %>
	
	</table>

<br />

