@@ -1,43 +1,45 | |||
|
1 | 1 | <!DOCTYPE html> |
|
2 | 2 | <html> |
|
3 | 3 | <head> |
|
4 | 4 | <meta charset="utf-8" /> |
|
5 | 5 | <style> |
|
6 | 6 | label {display:block;margin:0.5em;} |
|
7 | 7 | </style> |
|
8 | 8 | </head> |
|
9 | 9 | <body> |
|
10 | 10 | <h1>Redmine Mail Handler</h1> |
|
11 | 11 | |
|
12 | 12 | <%= form_tag({}, :multipart => true, :action => 'post') do %> |
|
13 | 13 | <%= hidden_field_tag 'key', params[:key] %> |
|
14 | 14 | |
|
15 | 15 | <fieldset> |
|
16 | 16 | <legend>Raw Email</legend> |
|
17 | 17 | <%= text_area_tag 'email', '', :style => 'width:95%; height:400px;' %></label> |
|
18 | 18 | </fieldset> |
|
19 | 19 | |
|
20 | 20 | <fieldset> |
|
21 | 21 | <legend>Options</legend> |
|
22 | 22 | <label>unknown_user: <%= select_tag 'unknown_user', options_for_select(['', 'ignore', 'accept', 'create']) %></label> |
|
23 | 23 | <label>default_group: <%= text_field_tag 'default_group' %></label> |
|
24 | 24 | <label>no_account_notice: <%= check_box_tag 'no_account_notice', 1 %></label> |
|
25 | 25 | <label>no_notification: <%= check_box_tag 'no_notification', 1 %></label> |
|
26 | 26 | <label>no_permission_check: <%= check_box_tag 'no_permission_check', 1 %></label> |
|
27 | 27 | </fieldset> |
|
28 | 28 | |
|
29 | 29 | <fieldset> |
|
30 | 30 | <legend>Issue attributes options</legend> |
|
31 | 31 | <label>project: <%= text_field_tag 'issue[project]' %></label> |
|
32 | 32 | <label>status: <%= text_field_tag 'issue[status]' %></label> |
|
33 | 33 | <label>tracker: <%= text_field_tag 'issue[tracker]' %></label> |
|
34 | 34 | <label>category: <%= text_field_tag 'issue[category]' %></label> |
|
35 | 35 | <label>priority: <%= text_field_tag 'issue[priority]' %></label> |
|
36 | <label>assigned_to: <%= text_field_tag 'issue[assigned_to]' %></label> | |
|
37 | <label>fixed_version: <%= text_field_tag 'issue[fixed_version]' %></label> | |
|
36 | 38 | <label>private: <%= check_box_tag 'issue[private]', 1 %></label> |
|
37 | 39 | <label>allow_override: <%= text_field_tag 'allow_override' %></label> |
|
38 | 40 | </fieldset> |
|
39 | 41 | |
|
40 | 42 | <p><%= submit_tag 'Submit Email' %></p> |
|
41 | 43 | <% end %> |
|
42 | 44 | </body> |
|
43 | 45 | </html> |
General Comments 0
You need to be logged in to leave comments.
Login now