1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-24 17:31:14 +00:00
redmine/app/views/mail_handler/new.html.erb
Jean-Philippe Lang 03c957670d Adds missing option to the Mail Handler test form.
git-svn-id: http://svn.redmine.org/redmine/trunk@15561 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-18 10:24:52 +00:00

46 lines
1.6 KiB
Plaintext

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<style>
label {display:block;margin:0.5em;}
</style>
</head>
<body>
<h1>Redmine Mail Handler</h1>
<%= form_tag({}, :multipart => true, :action => 'post') do %>
<%= hidden_field_tag 'key', params[:key] %>
<fieldset>
<legend>Raw Email</legend>
<%= text_area_tag 'email', '', :style => 'width:95%; height:400px;' %></label>
</fieldset>
<fieldset>
<legend>Options</legend>
<label>unknown_user: <%= select_tag 'unknown_user', options_for_select(['', 'ignore', 'accept', 'create']) %></label>
<label>default_group: <%= text_field_tag 'default_group' %></label>
<label>no_account_notice: <%= check_box_tag 'no_account_notice', 1 %></label>
<label>no_notification: <%= check_box_tag 'no_notification', 1 %></label>
<label>no_permission_check: <%= check_box_tag 'no_permission_check', 1 %></label>
</fieldset>
<fieldset>
<legend>Issue attributes options</legend>
<label>project: <%= text_field_tag 'issue[project]' %></label>
<label>status: <%= text_field_tag 'issue[status]' %></label>
<label>tracker: <%= text_field_tag 'issue[tracker]' %></label>
<label>category: <%= text_field_tag 'issue[category]' %></label>
<label>priority: <%= text_field_tag 'issue[priority]' %></label>
<label>assigned_to: <%= text_field_tag 'issue[assigned_to]' %></label>
<label>fixed_version: <%= text_field_tag 'issue[fixed_version]' %></label>
<label>private: <%= check_box_tag 'issue[private]', 1 %></label>
<label>allow_override: <%= text_field_tag 'allow_override' %></label>
</fieldset>
<p><%= submit_tag 'Submit Email' %></p>
<% end %>
</body>
</html>