diff --git a/app/views/albums/_form.html.erb b/app/views/albums/_form.html.erb index bf83b9b..5c2c804 100644 --- a/app/views/albums/_form.html.erb +++ b/app/views/albums/_form.html.erb @@ -1,6 +1,6 @@ <% content_for :javascript do %> - - +<%= javascript_include_tag "http://maps.google.com/maps/api/js?sensor=true" -%> +<%= javascript_include_tag "tag/tag" -%> <% end %>
diff --git a/app/views/photos/_form.html.erb b/app/views/photos/_form.html.erb index b0cffdb..b087a6c 100644 --- a/app/views/photos/_form.html.erb +++ b/app/views/photos/_form.html.erb @@ -1,5 +1,5 @@ <% content_for :javascript do %> - +<%= javascript_include_tag "tag/tag" -%> <% end %> <%= hidden_field_tag :all_tags, @tags %> <%= form.label :title %>
diff --git a/app/views/photos/upload.html.erb b/app/views/photos/upload.html.erb index 04341a3..4f530c3 100644 --- a/app/views/photos/upload.html.erb +++ b/app/views/photos/upload.html.erb @@ -1,11 +1,11 @@ <% content_for :javascript do %> - - +<%= javascript_include_tag "uploadify-2.1/jquery.uploadify.v2.1.0.min.js" -%> +<%= javascript_include_tag "uploadify-2.1/swfobject.js" -%>