X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/16f704326f44fd1e5e5e60b936c9b5895d6a6ff8..cf43300efe23a334136fef301a566ce8297f88c2:/apps/workbench/app/views/user_agreements/index.html.erb diff --git a/apps/workbench/app/views/user_agreements/index.html.erb b/apps/workbench/app/views/user_agreements/index.html.erb index 5f70c4735b..d52ad649c9 100644 --- a/apps/workbench/app/views/user_agreements/index.html.erb +++ b/apps/workbench/app/views/user_agreements/index.html.erb @@ -19,7 +19,7 @@ User agreements
Please check <%= n_files > 1 ? 'each' : 'the' %> box below to indicate that you have read and accepted the user agreement<%= 's' if n_files > 1 %>.
- <% if n_files == 1 and (Rails.configuration.show_user_agreement_inline rescue false) %> + <% if n_files == 1 and (Rails.configuration.Workbench.ShowUserAgreementInline rescue false) %> <% ua = unsigned_user_agreements.first; file = ua.files.first %> " type="<%= Rack::Mime::MIME_TYPES[file[1].match(/\.\w+$/)[0]] rescue '' %>" width="100%" height="400px">