File tree Expand file tree Collapse file tree
eg001_create_room_with_data
eg002_create_room_with_template
eg003_export_data_from_room
eg005_get_rooms_with_filters
eg006_create_external_form_fill_session
eg008_grant_office_access_to_form_group
eg009_assign_form_to_form_group Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -53,6 +53,6 @@ def get_view():
5353 return render_template (
5454 "eg001_create_room_with_data.html" ,
5555 title = "Creating a room with data" ,
56- source_file = path .relpath (path .dirname (__file__ ), start = 'app' ) + "/ controller.py" ,
56+ source_file = path .basename (path .dirname (__file__ )) + "\ controller.py" ,
5757 source_url = "https://github.com/docusign/code-examples-python/tree/master/app/" + path .relpath (path .dirname (__file__ ), start = 'app' ) + "/controller.py" ,
5858 )
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ def get_view():
6666 return render_template (
6767 "eg002_create_room_with_template.html" ,
6868 title = "Creating a room with a template" ,
69- source_file = path .relpath (path .dirname (__file__ ), start = 'app' ) + "/ controller.py" ,
69+ source_file = path .basename (path .dirname (__file__ )) + "\ controller.py" ,
7070 source_url = "https://github.com/docusign/code-examples-python/tree/master/app/" + path .relpath (path .dirname (__file__ ), start = 'app' ) + "/controller.py" ,
7171 templates = templates
7272 )
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ def get_view():
6262 return render_template (
6363 "eg003_export_data_from_room.html" ,
6464 title = "Exporting data from a room" ,
65- source_file = path .relpath (path .dirname (__file__ ), start = 'app' ) + "/ controller.py" ,
65+ source_file = path .basename (path .dirname (__file__ )) + "\ controller.py" ,
6666 source_url = "https://github.com/docusign/code-examples-python/tree/master/app/" + path .relpath (path .dirname (__file__ ), start = 'app' ) + "/controller.py" ,
6767 rooms = rooms ,
6868 )
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ def get_view():
6565 return render_template (
6666 "eg004_add_forms_to_room.html" ,
6767 title = "Adding forms to a room" ,
68- source_file = path .relpath (path .dirname (__file__ ), start = 'app' ) + "/ controller.py" ,
68+ source_file = path .basename (path .dirname (__file__ )) + "\ controller.py" ,
6969 source_url = "https://github.com/docusign/code-examples-python/tree/master/app/" + path .relpath (path .dirname (__file__ ), start = 'app' ) + "/controller.py" ,
7070 rooms = rooms ,
7171 forms = forms
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ def get_view():
6969 return render_template (
7070 "eg005_get_rooms_with_filters.html" ,
7171 title = "Getting rooms with filters" ,
72- source_file = path .relpath (path .dirname (__file__ ), start = 'app' ) + "/ controller.py" ,
72+ source_file = path .basename (path .dirname (__file__ )) + "\ controller.py" ,
7373 source_url = "https://github.com/docusign/code-examples-python/tree/master/app/" + path .relpath (path .dirname (__file__ ), start = 'app' ) + "/controller.py" ,
7474 rooms = rooms ,
7575 start = start_date .strftime ("%Y-%m-%d" ),
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ def get_view():
6464 return render_template (
6565 "eg006_create_external_form_fill_session.html" ,
6666 title = "Create an external form fill session" ,
67- source_file = path .relpath (path .dirname (__file__ ), start = 'app' ) + "/ controller.py" ,
67+ source_file = path .basename (path .dirname (__file__ )) + "\ controller.py" ,
6868 source_url = "https://github.com/docusign/code-examples-python/tree/master/app/" + path .relpath (path .dirname (__file__ ), start = 'app' ) + "/controller.py" ,
6969 rooms = rooms ,
7070 )
Original file line number Diff line number Diff line change @@ -53,6 +53,6 @@ def get_view():
5353 return render_template (
5454 "eg007_create_form_group.html" ,
5555 title = "Creating a form group" ,
56- source_file = path .relpath (path .dirname (__file__ ), start = 'app' ) + "/ controller.py" ,
56+ source_file = path .basename (path .dirname (__file__ )) + "\ controller.py" ,
5757 source_url = "https://github.com/docusign/code-examples-python/tree/master/app/" + path .relpath (path .dirname (__file__ ), start = 'app' ) + "/controller.py" ,
5858 )
Original file line number Diff line number Diff line change @@ -66,6 +66,6 @@ def get_view():
6666 "eg008_grant_office_access_to_form_group.html" ,
6767 offices = offices ,
6868 form_groups = form_groups ,
69- source_file = path .relpath (path .dirname (__file__ ), start = 'app' ) + "/ controller.py" ,
69+ source_file = path .basename (path .dirname (__file__ )) + "\ controller.py" ,
7070 source_url = "https://github.com/docusign/code-examples-python/tree/master/app/" + path .relpath (path .dirname (__file__ ), start = 'app' ) + "/controller.py" ,
7171 )
Original file line number Diff line number Diff line change @@ -75,6 +75,6 @@ def get_view():
7575 "eg009_assign_form_to_form_group.html" ,
7676 forms = forms ,
7777 form_groups = form_groups ,
78- source_file = path .relpath (path .dirname (__file__ ), start = 'app' ) + "/ controller.py" ,
78+ source_file = path .basename (path .dirname (__file__ )) + "\ controller.py" ,
7979 source_url = "https://github.com/docusign/code-examples-python/tree/master/app/" + path .relpath (path .dirname (__file__ ), start = 'app' ) + "/controller.py" ,
8080 )
You can’t perform that action at this time.
0 commit comments