|
<% if @site && @site.registered? %>
|
|
<%= t('admin.registered') %>
|
|
<% else %>
|
|
<%= link_to 'register', "http://#{APP_CONFIG['store_ip']}/user/sites/register?" +
|
|
{:site => {:school => @site.school, :department => @site.department}}.to_query,
|
|
:target => '_blank' %>
|
|
<% end %> |