Commit f39f64e08d2cde6efb8d2c50c612a707fa8abf27
1 parent
0e4c264b
Exists in
master
and in
29 other branches
ActionItem172: adding a generic task partial
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1552 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
19 additions
and
0 deletions
Show diff stats
... | ... | @@ -0,0 +1,19 @@ |
1 | +<%# a generic task solver %> | |
2 | +<h2><%= _('Processing task: %s') % task.description %></h2> | |
3 | + | |
4 | +<% form_for('task', task, :url => { :action => 'close', :id => task.id}) do |f| %> | |
5 | + | |
6 | + <div> | |
7 | + <%= radio_button_tag(:decision, 'finish', true) %> | |
8 | + <%= _('OK') %> | |
9 | + </div> | |
10 | + <div> | |
11 | + <%= radio_button_tag(:decision, 'cancel', false) %> | |
12 | + <%= _('Cancel') %> | |
13 | + </div> | |
14 | + | |
15 | + <% button_bar do %> | |
16 | + <%= submit_button(:ok, _('OK')) %> | |
17 | + <% end %> | |
18 | + | |
19 | +<% end %> | ... | ... |