From b789e5d78dc66f6d434c194de34d684116c7eae6 Mon Sep 17 00:00:00 2001 From: rhymes Date: Fri, 22 Mar 2019 19:14:59 +0100 Subject: [PATCH] Add SRI to script tags where applicable (#2153) * Add SRI to script tags * Update app/views/articles/_hiring_form.html.erb Good point :) Co-Authored-By: rhymes --- app/views/articles/_hiring_form.html.erb | 3 +- app/views/blocks/_form.html.erb | 15 +- app/views/giveaways/_form.html.erb | 383 ++++++++++++----------- app/views/internal/tags/index.html.erb | 3 +- app/views/pages/generator.html.erb | 3 +- app/views/tags/edit.html.erb | 4 +- app/views/users/_org_admin.html.erb | 4 +- app/views/users/_org_non_member.html.erb | 4 +- app/views/users/_profile.html.erb | 4 +- app/views/videos/new.html.erb | 5 +- 10 files changed, 223 insertions(+), 205 deletions(-) diff --git a/app/views/articles/_hiring_form.html.erb b/app/views/articles/_hiring_form.html.erb index 0cbfe31f4..c7cc7b9dd 100644 --- a/app/views/articles/_hiring_form.html.erb +++ b/app/views/articles/_hiring_form.html.erb @@ -1,4 +1,5 @@ - +
<%= f.fields_for @article.job_opportunity || JobOpportunity.new do |jo| %>

Where is your office located?

diff --git a/app/views/blocks/_form.html.erb b/app/views/blocks/_form.html.erb index bc10cff28..89eefe201 100644 --- a/app/views/blocks/_form.html.erb +++ b/app/views/blocks/_form.html.erb @@ -1,8 +1,13 @@ - - - - - + + + + + + +