17 lines
547 B
Plaintext
17 lines
547 B
Plaintext
|
<tr>
|
||
|
<th>Sites to add :</th>
|
||
|
<td>
|
||
|
<% @site_request.sites_to_add.each_with_index do |sid,i| %>
|
||
|
<% site = RegisteredSite.where(:site_domain => sid).first rescue nil %>
|
||
|
<div>
|
||
|
<% if !site.nil? %>
|
||
|
<input type="checkbox" id="check_<%= sid %>">
|
||
|
<label for="check_<%= sid %>"><%= site.title %></label>
|
||
|
<% else %>
|
||
|
<span><%= sid %><span class="label label-default">Site not found</span></span>
|
||
|
<% end %>
|
||
|
<a href="http://<%= sid %>" target="_blank"><i class="icons-export"></i></a>
|
||
|
</div>
|
||
|
<% end %>
|
||
|
</td>
|
||
|
</tr>
|