Mercurial > hg > soundsoftware-site
diff app/views/news/_form.html.erb @ 1115:433d4f72a19b redmine-2.2
Update to Redmine SVN revision 11137 on 2.2-stable branch
author | Chris Cannam |
---|---|
date | Mon, 07 Jan 2013 12:01:42 +0000 |
parents | cbb26bc654de |
children |
line wrap: on
line diff
--- a/app/views/news/_form.html.erb Wed Jun 27 14:54:18 2012 +0100 +++ b/app/views/news/_form.html.erb Mon Jan 07 12:01:42 2013 +0000 @@ -1,8 +1,10 @@ -<%= f.error_messages %> +<%= error_messages_for @news %> + <div class="box tabular"> <p><%= f.text_field :title, :required => true, :size => 60 %></p> <p><%= f.text_area :summary, :cols => 60, :rows => 2 %></p> <p><%= f.text_area :description, :required => true, :cols => 60, :rows => 15, :class => 'wiki-edit' %></p> +<p id="attachments_form"><label><%= l(:label_attachment_plural) %></label><%= render :partial => 'attachments/form', :locals => {:container => @news} %></p> </div> <%= wikitoolbar_for 'news_description' %>