Fixed the account authorization config disappearing
This was cause by the new default escaping behaviour Change-Id: I5a6dc181dee5b8eaa2d94545f15c3f2a9903f059 Reviewed-on: https://gerrit.instructure.com/2126 Reviewed-by: Brian Palmer <brianp@instructure.com> Tested-by: Bracken Mosbacker <bracken@instructure.com>
This commit is contained in:
parent
ca34692730
commit
2c715be51f
|
@ -1,6 +1,6 @@
|
|||
<% form_id = @account_config.ldap_authentication? ? 'auth_form' : 'ldap_form' %>
|
||||
<% active = @account_config.ldap_authentication? ? 'class="active"' : '' %>
|
||||
<div id="ldap_div" <%= active %>>
|
||||
<div id="ldap_div" <%= raw active %>>
|
||||
<% form_for @account_config, :url => context_url(@account, :context_account_authorization_config_url, @account.id), :html => {:id => form_id, :class=>"auth_type ldap_form"} do |f| %>
|
||||
<input type="hidden" name="account_authorization_config[auth_type]" value="<%= @account_config.auth_type || 'ldap' %>"/>
|
||||
<table class="formtable" style="margin-left: 20px;">
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<% form_id = @account_config.saml_authentication? ? 'auth_form' : 'saml_form' %>
|
||||
<% active = @account_config.saml_authentication? ? 'class="active"' : '' %>
|
||||
<div id="saml_div" <%= active %>>
|
||||
<div id="saml_div" <%= raw active %>>
|
||||
<% form_for @account_config, :url => context_url(@account, :context_account_authorization_config_url, @account.id), :html => {:id => form_id, :class=>"auth_type saml_form"} do |f| %>
|
||||
<input type="hidden" name="account_authorization_config[auth_type]" value="<%= @account_config.auth_type || 'saml' %>"/>
|
||||
<table class="formtable" style="margin-left: 20px;">
|
||||
|
|
Loading…
Reference in New Issue