12345678910111213141516171819202122232425262728293031323334 |
- <%
- # Copyright (C) 2011 - present Instructure, Inc.
- #
- # This file is part of Canvas.
- #
- # Canvas is free software: you can redistribute it and/or modify it under
- # the terms of the GNU Affero General Public License as published by the Free
- # Software Foundation, version 3 of the License.
- #
- # Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
- # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
- # A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
- # details.
- #
- # You should have received a copy of the GNU Affero General Public License along
- # with this program. If not, see <http://www.gnu.org/licenses/>.
- %>
- <% content_for :page_title do %>{{#t}}Confirm Delete{{/t}}<% end %>
- <% add_crumb t(:page_title, "Confirm Delete") %>
- <h2><%= t(:title, "Confirm Delete %{user} from %{account}", :user => @user.name, :account => @account.name) %></h2>
- <%= form_for :user, :url => account_user_url(@context, @user), :html => {:method => :delete} do |f| %>
- <%= t(:confirm_delete,
- "Are you sure you want to delete this user from the account %{account}?
- This will remove the user's data (including grades) from all
- courses and groups. This process cannot be undone.", :account => @account.name) %>
- <div class="form-actions">
- <a href="<%= account_url(@context) %>" class="btn">{{#t}}Cancel{{/t}}</a>
- <button type="submit" class="btn btn-primary"><%= t(:delete_button, "Delete %{user}", :user => @user.name) %></button>
- </div>
- <% end %>
|