client_management/app/views/admin/site_panel/index.html.erb

10 lines
622 B
Plaintext

<% if params[:msg] == "success" %>
<div class="alert alert-success" style="width: 60%; font-size: 18px; margin: auto;"><strong>Success!</strong> Site has been queued for construction. It can take upto 5 - 10 mins. You will be notified on <strong><%= current_user.member_profile.email %></strong> once the site is ready.</div>
<% end %>
<% if @server_ability.available %>
<%= form_for @site_construct, :url => {:action=>"create"}, :html => {:class => 'form-horizontal main-forms'} do |f| %>
<%= render :partial => 'form', :locals => {:f => f} %>
<% end %>
<% else %>
<%= t('client_management.over_the_limit') %>
<% end %>