Request type : <%= @site_request.get_request_type %>
User Details
<% if !@user.fullname.nil? %>
Name :
<%= @user.fullname %>
<% end %>
Email :
<%= @site_request.c_panel_user.email %>
<% if !@user.phone_number.nil? %>
Phone Number :
<%= @user.phone_number %>
<% end %>
<% if !@user.address.nil? %>
Address :
<%= @user.address %>
<% end %>
<% if !@user.registered_site_ids.empty? %>
Registered Sites :
<% @user.registered_sites.each do |rs| %>
<%= rs.title %>
<% end %>
<% end %>
Request Specifications
<% case @site_request.type %>
<% when "newsite" %>
<%= render :partial => "site_spec" %>
<% when "existing" %>
<%= render :partial => "site_spec" %>
<% when "addsites" %>
<%= render :partial => "add_site_spec" %>
<% end %>
<% if @site_request.request_contract.nil? %>
<% case @site_request.type %>
<% when "existing","newsite" %>
Make Contract
<% end %>
<% else %>
<% case @site_request.type %>
<% when "existing","newsite" %>
View Contract
<% end %>
<% end %>