From 53449db853269059e21c17629cccdee90b6115d7 Mon Sep 17 00:00:00 2001 From: LeandroNunes Date: Wed, 1 Aug 2007 23:20:01 +0000 Subject: [PATCH] ActionItem0: fixing bug in design plugin on edit mode. --- app/controllers/edit_template_controller.rb | 7 +++++-- app/views/account/login.rhtml | 4 ++-- public/designs/templates/1024px/simple.yml | 2 +- public/designs/templates/default/stylesheets/style.css | 8 ++++++++ public/designs/templates/gray/stylesheets/style.css | 306 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------------------------------------------------------------------------------------------- 5 files changed, 169 insertions(+), 158 deletions(-) diff --git a/app/controllers/edit_template_controller.rb b/app/controllers/edit_template_controller.rb index acebef3..1d5d18e 100644 --- a/app/controllers/edit_template_controller.rb +++ b/app/controllers/edit_template_controller.rb @@ -1,7 +1,10 @@ class EditTemplateController < ApplicationController - design_editor :holder => 'virtual_community', :autosave => true - + design_editor :holder => 'virtual_community', :autosave => true, :block_types => :block_types + + #TODO Implements the available blocks here + #TODO implements available helpers + def index redirect_to :action => 'design_editor' end diff --git a/app/views/account/login.rhtml b/app/views/account/login.rhtml index ce359ac..11b850e 100644 --- a/app/views/account/login.rhtml +++ b/app/views/account/login.rhtml @@ -1,10 +1,10 @@

<%= _('Login') %>

<% form_tag do -%> -


+


<%= text_field_tag 'login' %>

-


+


<%= password_field_tag 'password' %>