diff --git a/app/views/tasks/_task.rhtml b/app/views/tasks/_task.rhtml new file mode 100644 index 0000000..40dcd88 --- /dev/null +++ b/app/views/tasks/_task.rhtml @@ -0,0 +1,19 @@ +<%# a generic task solver %> +

<%= _('Processing task: %s') % task.description %>

+ +<% form_for('task', task, :url => { :action => 'close', :id => task.id}) do |f| %> + +
+ <%= radio_button_tag(:decision, 'finish', true) %> + <%= _('OK') %> +
+
+ <%= radio_button_tag(:decision, 'cancel', false) %> + <%= _('Cancel') %> +
+ + <% button_bar do %> + <%= submit_button(:ok, _('OK')) %> + <% end %> + +<% end %> -- libgit2 0.21.2