%= error_messages_for 'blacklist_pattern' %>
<%= _("Pattern")%>: <%= text_field 'blacklist_pattern', 'pattern' %>
<% if @controller.action_name == "new" %> <%= _("Type")%>: <%= options_for_select [ [_('String'), 'StringPattern'], [_('Regex'), 'RegexPattern' ] ] %> <% end %>