48 lines
1.3 KiB
Plaintext
48 lines
1.3 KiB
Plaintext
|
<style type="text/css">
|
||
|
table th{
|
||
|
text-align: right;
|
||
|
padding-right: 15px;
|
||
|
}
|
||
|
</style>
|
||
|
<h2>Site Id : <%= @site_request.uid %></h2>
|
||
|
<h2>Site type : <%= @site_request.get_request_type %></h2>
|
||
|
<table width="100%">
|
||
|
<caption><h3>User Details</h3></caption>
|
||
|
<% if !@user.fullname.nil? %>
|
||
|
<tr>
|
||
|
<th>Name :</th>
|
||
|
<td><%= @user.fullname %></td>
|
||
|
</tr>
|
||
|
<% end %>
|
||
|
<tr>
|
||
|
<th>Email :</th>
|
||
|
<td><%= @site_request.c_panel_user.email %></td>
|
||
|
</tr>
|
||
|
<% if !@user.phone_number.nil? %>
|
||
|
<tr>
|
||
|
<th>Phone Number :</th>
|
||
|
<td><%= @user.phone_number %></td>
|
||
|
</tr>
|
||
|
<% end %>
|
||
|
<% if !@user.address.nil? %>
|
||
|
<tr>
|
||
|
<th>Address :</th>
|
||
|
<td><%= @user.address %></td>
|
||
|
</tr>
|
||
|
<% end %>
|
||
|
<% if !@user.registered_site_ids.empty? %>
|
||
|
<tr>
|
||
|
<th>Registered Sites :</th>
|
||
|
<td>
|
||
|
<% @user.registered_sites.each do |rs| %>
|
||
|
<span class="label label-default"><a style="color:#fff;" href="http://<%= rs.site_domain %>" target="_blank"><%= rs.title %></a></span>
|
||
|
<% end %>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<% end %>
|
||
|
</table>
|
||
|
<hr>
|
||
|
<%= form_for @contract, :url => {:action => :update_contract}, :html => {:class => "form-horizontal contract-form"} do |f| %>
|
||
|
<h3>Request Specifications</h3>
|
||
|
<%= render :partial => "site_spec_form", :locals => {:f => f} %>
|
||
|
<% end %>
|