<% if @object.state != "Running" && current_user.andand.is_active %> <% end %>