Skip to content
This repository has been archived by the owner on Aug 15, 2018. It is now read-only.

Commit

Permalink
fixed up scrollable content
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Adams committed Oct 12, 2008
1 parent a600c30 commit f7105bf
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions config/routes.rb
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions public/stylesheets/scrollable-view.css
Expand Up @@ -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 {
Expand Down
@@ -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 -%>

0 comments on commit f7105bf

Please sign in to comment.