Files
Redmine/app/views/news/_form.html.erb
Go MAEDA 74d4d86a14 Store inline autocomplete data sources in a JS variable (#34122).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@20191 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-25 00:01:14 +00:00

15 lines
655 B
Plaintext

<%= 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',
:data => {
:auto_complete => true
}
%></p>
<p id="attachments_form"><label><%= l(:label_attachment_plural) %></label><%= render :partial => 'attachments/form', :locals => {:container => @news} %></p>
</div>
<%= wikitoolbar_for 'news_description', preview_news_path(:project_id => @project, :id => @news) %>