<%= t('.tags') %>
<%= text_field 'article', 'keywords', autocomplete: 'off', class: 'form-control tm-input' %>
<%= t('.tags_explanation_html') %>
<% post_types = @post_types || [] %>
<% if post_types.size.zero? %>
<%= hidden_field_tag 'article[post_type]', 'read' %>
<% else %>
<%= t('.article_type') %>
<%= select :article, :post_type, post_types.map { |pt| [pt.name, pt.permalink] }, include_blank: t('.default') %>
<% end %>