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