Mercurial > hg > soundsoftware-site
annotate app/views/news/new.html.erb @ 1327:287f201c2802 redmine-2.2-integration
Add italic
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Wed, 19 Jun 2013 20:56:22 +0100 |
parents | 433d4f72a19b |
children |
rev | line source |
---|---|
Chris@0 | 1 <h2><%=l(:label_news_new)%></h2> |
Chris@0 | 2 |
Chris@1115 | 3 <%= labelled_form_for @news, :url => project_news_index_path(@project), |
Chris@1115 | 4 :html => { :id => 'news-form', :multipart => true } do |f| %> |
Chris@1115 | 5 <%= render :partial => 'news/form', :locals => { :f => f } %> |
Chris@1115 | 6 <%= submit_tag l(:button_create) %> |
Chris@1115 | 7 <%= preview_link preview_news_path(:project_id => @project), 'news-form' %> |
Chris@0 | 8 <% end %> |
Chris@0 | 9 <div id="preview" class="wiki"></div> |