diff --git a/views/admin/new_event.erb b/views/admin/new_event.erb index 142b8b931bd5ba20408d05e7e627b86e63d78dfb..fe2dbe6d7310bdeaa693de4fb671a1b9e938919f 100644 --- a/views/admin/new_event.erb +++ b/views/admin/new_event.erb @@ -26,7 +26,7 @@ <fieldset> <legend style="font-size: 1.6em">Location, Date, and Time</legend> <label for="location"><span class="required">*</span> Location</label> - <select id="location" name="location" class="use-select2" style="width: 100%;"> + <select id="location" name="location" class="use-select2 dcf-input-select" style="width: 100%;"> <% locations.each do |location| %> <option <%= 'selected="selected"' if !event.location.nil? && event.location.id == location.id %> value="<%= location.id %>"><%= location.name %></option> <% end %> diff --git a/views/fixed.erb b/views/fixed.erb index e1f9c6baec31ebf5f888023578efade56109c83e..b13d55314c60f8d3424088ef3430910e676dd3f8 100644 --- a/views/fixed.erb +++ b/views/fixed.erb @@ -1,4 +1,5 @@ <!DOCTYPE html> +<% template_dep_version = '5.0.6' %> <html class="no-js" lang="en"> <head> <%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.0/includes/global/head-1.html"))).result %> @@ -12,7 +13,7 @@ <!-- TemplateBeginEditable name="doctitle" --> <title><%= @title %> | University of Nebraska–Lincoln</title> <!-- TemplateEndEditable --> - <%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.0/includes/global/head-2.html"))).result %> + <%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.0/includes/global/head-2.html"))).result.gsub('$DEP_VERSION$', template_dep_version) %> <!-- TemplateBeginEditable name="head" --> <!-- Place optional header elements here --> <meta name="apple-mobile-web-app-capable" content="yes"> @@ -154,7 +155,7 @@ <%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.0/includes/global/footer-global-2.html"))).result %> </footer> <%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.0/includes/global/noscript.html"))).result %> -<%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.0/includes/global/js-body.html"))).result %> +<%= ERB.new(File.read(File.expand_path("#{ROOT}/public/wdn/templates_5.0/includes/global/js-body.html"))).result.gsub('$DEP_VERSION$', template_dep_version) %> <!-- TemplateBeginEditable name="jsbody" --> <!-- put your custom javascript here --> <script type="text/javascript">WDN.initializePlugin("notice");</script>