<% unless @user_request.nil? cite = @user_request.referent.to_citation %>
<%= form_tag({:controller => "export_email", :action => "send_email", :id => params[:id]}, :class => "modal_dialog_form" ) do %>

Email the title and locations

<%= validation_error( @error || flash[:error]) if ( @error || flash[:error]) %>

Title: <%= h(cite[:title]) %>/<%= h(cite[:author]) %>

<%= label_tag 'email', 'Enter your email address:' %> <%= text_field_tag 'email', params[:email] %>
<%= submit_tag 'Send!' %>
<% end end %>