<%= hidden_field_tag('advertisement[strict]', 0) %>
<%= check_box_tag('advertisement[strict]', 1, @advertisement ? @advertisement.strict? : false) %>
<%= label_tag('advertisement[strict]', l(:label_strict)) %>
<% if @advertisement && @advertisement.keywords.any? %>
<% @advertisement.keywords.sort.each do |keyword| %>
<%= keyword %>
<%= link_to(image_tag('delete.png'), { :controller => 'keywords', :action => 'destroy', :id => keyword }, :method => :delete, :class => 'delete', :title => l(:button_delete)) %>
<% end %>
<% end %>
<%= text_field_tag('keywords[1]', nil, :size => 30) %>
<%= content_tag(:div, content_tag(:em, l(:label_keyword_allowed_chars))) %>
<%= link_to(l(:label_add_another_keyword), '#', :onclick => "addKeyword(); return false;") %>