From 01b73e89fb477db42b872583efbf5bb86ee16ab0 Mon Sep 17 00:00:00 2001 From: Jacques Crocker Date: Fri, 23 Jul 2010 16:51:43 -0700 Subject: [PATCH] Fix a html_escaping bug on the content page --- app/views/admin/contents/new.html.haml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/admin/contents/new.html.haml b/app/views/admin/contents/new.html.haml index 5865ce53..bd0f7084 100644 --- a/app/views/admin/contents/new.html.haml +++ b/app/views/admin/contents/new.html.haml @@ -1,15 +1,15 @@ -- title t('.title', :type => @content_type.name.capitalize) +- title t('.title', :type => @content_type.name.capitalize).html_safe - content_for :submenu do = render 'admin/shared/menu/contents' - + - content_for :buttons do = admin_button_tag t('admin.contents.index.edit'), edit_admin_content_type_url(@content_type), :class => 'edit' - + %p= @content_type.description = semantic_form_for @content, :as => :content, :url => admin_contents_url(@content_type.slug), :html => { :multipart => true } do |form| = render 'form', :f => form - + = render 'admin/shared/form_actions', :back_url => admin_contents_url(@content_type.slug), :button_label => :create \ No newline at end of file