Commit 838e7389e2d93562cefc2fb471eb421632158097
1 parent
9458be63
Exists in
master
and in
9 other branches
Fix reject selection
Showing
2 changed files
with
4 additions
and
4 deletions
Show diff stats
views/tasks/_task.html.erb
views/tasks/_task_reject_details.html.erb
... | ... | @@ -2,4 +2,8 @@ |
2 | 2 | <div class="template-selection"> |
3 | 3 | <%= labelled_form_field(_('Select a rejection email template:'), select_tag("tasks[#{task.id}][task][email_template_id]", options_from_collection_for_select(@email_templates, :id, :name), :include_blank => true, 'data-url' => url_for(:controller => 'email_templates', :action => 'show_parsed'))) %> |
4 | 4 | </div> |
5 | + | |
6 | + <% if task.flagged_for_reproval? %> | |
7 | + <script>jQuery("#decision-cancel-<%= task.id %>").click();</script> | |
8 | + <% end %> | |
5 | 9 | <% end %> | ... | ... |