<%= l(:label_hook_plural) %>

<%= error_messages_for 'hook' %>
<% if @placeholder[:outline] %> <%= render(:partial => "placeholders/#{@placeholder[:outline]}", :locals => { :hook => @placeholder[:hook] }) %> <% else %> <%= render(:partial => "placeholders/none") %> <% end %>
<%= render(:partial => 'list') %>
<% form = form_tag({ :action => 'update' }) do %>
<%= render(:partial => 'form') %>
<% end %> <%= form if Rails::VERSION::MAJOR >= 3 %>
<% content_for(:header_tags) do %> <%= stylesheet_link_tag('admin', :plugin => 'hooks_manager') %> <% if File.exists?(File.join(File.dirname(__FILE__), "../../../assets/stylesheets/#{Setting.ui_theme}.css")) %> <%= stylesheet_link_tag(Setting.ui_theme, :plugin => 'hooks_manager') %> <% end %> <% if defined?(remote_function) %> <%= javascript_include_tag('hooks_prototype', :plugin => 'hooks_manager') %> <% else %> <%= javascript_include_tag('hooks_jquery', :plugin => 'hooks_manager') %> <% end %> <% end %>