<h1>Suspend user &ldquo;<%= @user.name %>&rdquo;</h1>

<p><span class="label label-important">Warning: suspensions are currently only enforced at login time. If a user is logged in, they could remain logged in forever.</span></p>

<%= form_tag admin_suspension_path(@user), method: "put", :class => 'well' do %>
  <p>
    <label class="checkbox">
      Suspended?
      <%= check_box_tag "user[suspended]", "1", @user.suspended?, class: "checkbox" %>
    </label>
  </p>
  <p>
    <label for="user_reason_for_suspension">Reason for suspension</label>
    <%= text_field_tag "user[reason_for_suspension]", @user.reason_for_suspension, class: "span6" %>
  </p>
  <%= submit_tag "Save", class: "btn btn-primary" %>
<% end %>
<h1>Suspend user &ldquo;<%= @user.name %>&rdquo;</h1>

<p><span class="label label-important">Warning: suspensions are currently only enforced at login time. If a user is logged in, they could remain logged in forever.</span></p>

<%= form_tag admin_suspension_path(@user), method: "put", :class => 'well' do %>
  <p>
    <label class="checkbox">
      Suspended?
      <%= check_box_tag "user[suspended]", "1", @user.suspended?, class: "checkbox" %>
    </label>
  </p>
  <p>
    <label for="user_reason_for_suspension">Reason for suspension</label>
    <%= text_field_tag "user[reason_for_suspension]", @user.reason_for_suspension, class: "span6" %>
  </p>
  <%= submit_tag "Save", class: "btn btn-primary" %>
  <%= link_to "Cancel", class: "btn" %>
<% end %>
Add an escape to the suspension screen
Add an escape to the suspension screen
