<%= form_for :plugin do |p| %> <%= p.submit t(:plugin_create), :class => 'btn btn-primary' %> <% end %>
<% if @plugins.length > 0 %> <% @plugins.each do |p| %> <% end %>
<%= t(:plugin_name) %> <%= t(:created) %>

<%= p.name %>

<%= link_to T(:view), plugin_path(p.id), :target => '_blank', class: 'btn btn-default' %> <%= link_to T(:edit), edit_plugin_path(p.id), class: 'btn btn-default' %>
<%= p.created_at.strftime("%Y-%m-%d") %>
<% end %>