% if !(session[:help_popups_clearance].nil?) || (Rails.configuration.help_popups_simple_auth == false) %>
<%= form_for @topic do |f| %>
Adding New Topic
<%= render 'shared/error_messages', :object => f.object %>
<%= render 'fields', :f => f %>
<%= f.submit "Add Topic" %>
<% end %>
<% else %>
You must login before you can access the Help Popups administration.
Please enter the password you defined for config.help_popups_password:
<% flash.each do |key, value| %>
<%= content_tag(:div, value, :class => "flash #{key}") %>
<% end %>
<% end %>