<%= t(:channels) %>

<% if @channels.length > 0 %> <% @channels.each do |d| %> <% end %>
<%= t(:channel_id) %> <%= t(:channel_name) %>
<%= link_to d.id, channel_path(d.id) %> <%= link_to d.name, channel_path(d.id) %>


<% end %> <%= form_for :channel do |d| %> <%= d.submit t(:channel_create) %> <% end %>