<% @title = "Contact us" %> <%= foi_error_messages_for :contact %>

<%= @title %>

<% if !flash[:notice] %>

Contact an authority to get official information

<% end %>

Contact the <%= site_name %> team

<% if !flash[:notice] %> <% end %>
<%= form_for :contact do |f| %> <% if not @user %>

<%= f.text_field :name, :size => 20 %> (or <%= link_to "sign in", signin_path(:r => request.fullpath) %>)

<%= f.text_field :email, :size => 20 %>

<% end %>

<%= f.text_field :subject, :size => 50 %>

<%= f.text_area :message, :rows => 10, :cols => 60 %>

<%= f.label :comment, 'Do not fill in this field' %> <%= f.text_field :comment %>

<% if !@last_request.nil? %>

<%=request_link(@last_request) %> <%= submit_tag "remove", :name => 'remove' %>

<% end %> <% if !@last_body.nil? %>

<%=public_body_link(@last_body) %> <%= submit_tag "remove", :name => 'remove' %>

<% end %>

We can only help you with technical problems, or questions about Freedom of Information.

<%= hidden_field_tag(:submitted_contact_form, 1) %> <%= submit_tag "Send message to the charity", :disable_with => "Sending..." %> <-- we run this site, not the Government!
<% end %>