orbit-basic/app/views/admin/sites/index.html.erb

7 lines
250 B
Plaintext
Raw Normal View History

2011-08-18 05:43:33 +00:00
<% if @site && @site.registered? %>
registered
<% else %>
<%= link_to 'register', 'http://localhost:3001/user/sites/register?' +
{:site => {:school => @site.school, :department => @site.department}}.to_query,
:target => '_blank' %>
<% end %>