@@ -1,27 +1,27 | |||
|
1 | 1 | <h2><%=l(:label_issue_new)%></h2> |
|
2 | 2 | |
|
3 | 3 | <% labelled_tabular_form_for :issue, @issue, :url => {:controller => 'issues', :action => 'create', :project_id => @project}, |
|
4 | 4 | :html => {:multipart => true, :id => 'issue-form', :class => 'tabular new-issue-form'} do |f| %> |
|
5 | 5 | <%= error_messages_for 'issue' %> |
|
6 | 6 | <div class="box"> |
|
7 | 7 | <%= render :partial => 'issues/form', :locals => {:f => f} %> |
|
8 | 8 | </div> |
|
9 | 9 | <%= submit_tag l(:button_create) %> |
|
10 | 10 | <%= submit_tag l(:button_create_and_continue), :name => 'continue' %> |
|
11 |
<%= link_to_remote l(:label_preview), |
|
|
11 | <%= link_to_remote l(:label_preview), | |
|
12 | 12 | { :url => preview_issue_path(:project_id => @project), |
|
13 | 13 | :method => 'post', |
|
14 | 14 | :update => 'preview', |
|
15 | 15 | :with => "Form.serialize('issue-form')", |
|
16 | 16 | :complete => "Element.scrollTo('preview')" |
|
17 | 17 | }, :accesskey => accesskey(:preview) %> |
|
18 | ||
|
18 | ||
|
19 | 19 | <%= javascript_tag "Form.Element.focus('issue_subject');" %> |
|
20 | 20 | <% end %> |
|
21 | 21 | |
|
22 | 22 | <div id="preview" class="wiki"></div> |
|
23 | 23 | |
|
24 | 24 | <% content_for :header_tags do %> |
|
25 | 25 | <%= stylesheet_link_tag 'scm' %> |
|
26 | 26 | <%= robot_exclusion_tag %> |
|
27 | 27 | <% end %> |
General Comments 0
You need to be logged in to leave comments.
Login now