From f7105bfd2619428c391a2211f189e7505563fbd8 Mon Sep 17 00:00:00 2001 From: Josh Adams Date: Sun, 12 Oct 2008 18:32:22 -0500 Subject: [PATCH] fixed up scrollable content --- config/routes.rb | 1 + public/stylesheets/scrollable-view.css | 2 -- .../app/views/admin/scrollable_content_sections/edit.html.erb | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/config/routes.rb b/config/routes.rb index 04d8206..b6e2afa 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -7,6 +7,7 @@ map.from_plugin :ansuz_menu_system map.from_plugin :ansuz_theme_repository map.from_plugin :ansuz_theme_installer + map.from_plugin :ansuz_scrollable_content map.resources :users map.resources :tags diff --git a/public/stylesheets/scrollable-view.css b/public/stylesheets/scrollable-view.css index 07a6919..8e542e5 100644 --- a/public/stylesheets/scrollable-view.css +++ b/public/stylesheets/scrollable-view.css @@ -2,13 +2,11 @@ div.items { height:180px; float:left; - width:470px; background-color:#efefef; border:1px solid #ddd; } div.items div { - width:470px; } div.scrollable div { diff --git a/vendor/plugins/ansuz_scrollable_content/app/views/admin/scrollable_content_sections/edit.html.erb b/vendor/plugins/ansuz_scrollable_content/app/views/admin/scrollable_content_sections/edit.html.erb index c250370..e46e6b5 100644 --- a/vendor/plugins/ansuz_scrollable_content/app/views/admin/scrollable_content_sections/edit.html.erb +++ b/vendor/plugins/ansuz_scrollable_content/app/views/admin/scrollable_content_sections/edit.html.erb @@ -1,5 +1,5 @@ <%= title "Edit Scrollable Content Section" -%> -<% form_for :scrollable_content_section, :url => admin_scrollable_content_scrollable_content_section_path(@scrollable_content, @scrollable_content_section) do |f| -%> +<% form_for :scrollable_content_section, :url => admin_scrollable_content_scrollable_content_section_path(@scrollable_content, @scrollable_content_section), :html => { :method => :put } do |f| -%> <%= render :partial => 'form', :locals => { :f => f } -%> <%= submit_tag "Update scrollable content section" -%> or <%= link_to "Cancel", admin_scrollable_content_path(@scrollable_content) -%> <% end -%>