%
# 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 .
%>
<% provide :page_title do %><%= join_title t(:page_title, "Plugin Settings"), @plugin.name %><% end %>
<%
js_bundle :plugins
add_crumb(t('#crumbs.plugins', "Plugins"), plugins_path)
add_crumb(@plugin.name)
%>
<%= t({
one: "1 error prohibited this plugin from being saved:",
other: "%{count} errors prohibited this plugin from being saved:" },
count: @plugin_setting.errors.count
) %>
<% @plugin_setting.errors.full_messages.each do |msg| %>
<%= msg %>
<% end %>
<% end %>
<%= partial %>
<%=link_to(t(:back_to_list, "Return to plugins list"), plugins_path,:class => 'btn btn button-secondary')%>