app/views/yawl_rails/processes/index.html.haml in yawl_rails-0.1.1 vs app/views/yawl_rails/processes/index.html.haml in yawl_rails-0.2.0
- old
+ new
@@ -11,9 +11,12 @@
%th State
%th Started at
%tbody
- @processes.each do |p|
%tr{:id => "process-#{p.name}"}
- %td= link_to p.name, yawl_process_path(p.id)
+ %td= link_to p.name, yawl_process_path(p.name)
%td= p.desired_state
%td= p.state
%td= p.created_at
+
+- if @processes.page_count > 1
+ = render 'pagination', objects: @processes