diff --git a/app/views/articles/_article.html.haml b/app/views/articles/_article.html.haml index 7175b73..743fd96 100644 --- a/app/views/articles/_article.html.haml +++ b/app/views/articles/_article.html.haml @@ -2,7 +2,7 @@ = stylesheet_link_tag "jquery/ui.theme", "jquery/jquery.wysiwyg" = javascript_include_tag "app/rich", "jquery/ui.datepicker", "jquery/jquery.wysiwyg" -- semantic_form_for(@article, :html => { :class => "form" }) do |f| +- semantic_form_for(@article, :html => { :class => "form", :multipart => true }) do |f| = f.input :title, :input_html => { :size => 60 } = f.input :body, :input_html => { :size => "60x20" } = f.input :public diff --git a/app/views/medias/_nested.html.haml b/app/views/medias/_nested.html.haml index cc37fa9..b447203 100644 --- a/app/views/medias/_nested.html.haml +++ b/app/views/medias/_nested.html.haml @@ -1,5 +1,8 @@ .media - f.inputs do - = f.input :media, :label => "Arquivo" + .group + = f.input :media, :label => "Arquivo" + .group = f.input :info + = f.remove_link "remove"