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