From 89db9c4882165d7f767c46fa9f190c7d25e95d07 Mon Sep 17 00:00:00 2001
From: Andreas Kloeckner <inform@tiker.net>
Date: Mon, 27 Jun 2016 16:18:15 -0500
Subject: [PATCH] Fix intro flow example

---
 doc/flow.rst | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/doc/flow.rst b/doc/flow.rst
index 6b5f3563..9c2ac6f5 100644
--- a/doc/flow.rst
+++ b/doc/flow.rst
@@ -53,7 +53,7 @@ An Example
 
         start:
         -
-            if_before: 2015-03-06 23:59:00
+            if_after: 2015-03-06 23:59:00
             if_has_role: [student, ta, instructor]
             if_has_fewer_sessions_than: 2
             may_start_new_session: True
@@ -69,8 +69,8 @@ An Example
 
         access:
         -
-            if_before: 2015-03-06 23:59:00
-            permissions: [view, modify, see_correctness]
+            if_after: 2015-03-06 23:59:02
+            permissions: [view, submit_answer, end_session, see_correctness]
 
         -
             permissions: [view, see_correctness, see_answer_after_submission]
@@ -81,6 +81,9 @@ An Example
         grade_identifier: test_quiz
         grade_aggregation_strategy: max_grade
 
+        grading:
+        -   credit_percent: 100
+
     pages:
 
     -
@@ -228,7 +231,7 @@ Overall structure
 
 .. class:: FlowRules
 
-    Found in the ``rules`` attribute of a flow.
+    Found in the ``rules`` attribute of a :class:`Flow`.
 
     .. attribute:: start
 
-- 
GitLab