diff --git a/app/views/admin/newsletters/edit.html.haml b/app/views/admin/newsletters/edit.html.haml index 2c09340..6e8632f 100755 --- a/app/views/admin/newsletters/edit.html.haml +++ b/app/views/admin/newsletters/edit.html.haml @@ -38,7 +38,7 @@ .panel#collapse2 .block_portlets_sortable#content_types - -@newsletter.alloweds_types.each do |slug, name| + -@newsletter.block.alloweds_types.each do |slug, name| .content_type{:id => slug, :"data-type" => slug} =#i slug.to_s.constantize.picto diff --git a/app/views/public/plumes/print.html.haml b/app/views/public/plumes/print.html.haml index 4e08bea..f5200e2 100644 --- a/app/views/public/plumes/print.html.haml +++ b/app/views/public/plumes/print.html.haml @@ -54,7 +54,7 @@ -i = 0 =raw "
" - .page_inner + .page_inner{:style => ("padding-top:0" if i == 1 )} %h1=plume_article.title .render_block @@ -88,6 +88,8 @@ .render_block =render plume_article.block + + =image_tag "http://lepicvert.org/adhesion.png", :style => "width:108%;margin-top:50px;margin-left:-4%;max-width:10000%;" .page .page_header