##// END OF EJS Templates
replace tabs to spaces at app/views/activities/index.html.erb...
replace tabs to spaces at app/views/activities/index.html.erb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7330 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r7189:0dbc7fb192c8
r7210:a3ab49e92d32
Show More
new.html.erb
14 lines | 663 B | text/plain | TextLexer
<h2><%=l(:label_news_new)%></h2>
<% labelled_tabular_form_for :news, @news, :url => project_news_index_path(@project),
:html => { :id => 'news-form' } do |f| %>
<%= render :partial => 'news/form', :locals => { :f => f } %>
<%= submit_tag l(:button_create) %>
<%= link_to_remote l(:label_preview),
{ :url => preview_news_path(:project_id => @project),
:method => 'get',
:update => 'preview',
:with => "Form.serialize('news-form')"
}, :accesskey => accesskey(:preview) %>
<% end %>
<div id="preview" class="wiki"></div>