Mercurial > hg > soundsoftware-site
annotate .svn/pristine/ff/ff068acc0413b56f4b540c721950411f34fdcce5.svn-base @ 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 | cbb26bc654de |
children |
rev | line source |
---|---|
Chris@909 | 1 <h2><%=l(:label_issue_new)%></h2> |
Chris@909 | 2 |
Chris@909 | 3 <% labelled_tabular_form_for :issue, @issue, :url => {:controller => 'issues', :action => 'create', :project_id => @project}, |
Chris@909 | 4 :html => {:multipart => true, :id => 'issue-form', :class => 'tabular new-issue-form'} do |f| %> |
Chris@909 | 5 <%= error_messages_for 'issue' %> |
Chris@909 | 6 <div class="box"> |
Chris@909 | 7 <%= render :partial => 'issues/form', :locals => {:f => f} %> |
Chris@909 | 8 </div> |
Chris@909 | 9 <%= submit_tag l(:button_create) %> |
Chris@909 | 10 <%= submit_tag l(:button_create_and_continue), :name => 'continue' %> |
Chris@909 | 11 <%= link_to_remote l(:label_preview), |
Chris@909 | 12 { :url => preview_issue_path(:project_id => @project), |
Chris@909 | 13 :method => 'post', |
Chris@909 | 14 :update => 'preview', |
Chris@909 | 15 :with => "Form.serialize('issue-form')", |
Chris@909 | 16 :complete => "Element.scrollTo('preview')" |
Chris@909 | 17 }, :accesskey => accesskey(:preview) %> |
Chris@909 | 18 |
Chris@909 | 19 <%= javascript_tag "Form.Element.focus('issue_subject');" %> |
Chris@909 | 20 <% end %> |
Chris@909 | 21 |
Chris@909 | 22 <div id="preview" class="wiki"></div> |
Chris@909 | 23 |
Chris@909 | 24 <% content_for :header_tags do %> |
Chris@909 | 25 <%= stylesheet_link_tag 'scm' %> |
Chris@909 | 26 <%= robot_exclusion_tag %> |
Chris@909 | 27 <% end %> |