To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / app / views / issues / .svn / text-base / new.rhtml.svn-base @ 441:cbce1fd3b1b7

History | View | Annotate | Download (1.16 KB)

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