{"action":"created","comment":{"url":"https://api.github.com/repos/uclouvain/osis/pulls/comments/78986121","id":78986121,"diff_hunk":"@@ -30,102 +30,99 @@\n   <li><a href=\"{% url 'studies' %}\" id=\"lnk_studies\">{% trans 'student_path' %}</a></li>\n   <li><a href=\"{% url 'dissertations' %}\" id=\"lnk_dissertations\">{% trans 'dissertations' %}</a></li>\n   <li><a href=\"{% url 'my_dissertation_propositions' %}\" id=\"lnk_propositions\">{% trans 'subjects' %}</a></li>\n-  <li class=\"active\">{% trans 'new_or_edit_subject' %}</li>\n+  <li><a href=\"{% url 'proposition_dissertation_detail' pk=prop_dissert.pk %}\">{{ prop_dissert.title }}</a></li>\n+  <li class=\"active\">{% trans 'edit' %}</li>\n {% endblock %}\n {% block content %}\n   <div class=\"page-header\">\n-    <h2>{% trans 'new_or_edit_subject' %}</h2>\n+    <h2>{% trans 'edit' %} : {{ prop_dissert.title }}</h2>\n   </div>\n   <div class=\"panel panel-default\">\n     <div class=\"panel-body\">\n       <form method=\"POST\" class=\"post-form\">\n         {% csrf_token %}\n-        <div class=\"row\">\n+\t    <div class=\"row\">\n             <div class=\"col-md-3 col-lg-offset-3\">\n               {{  form.author }}\n             </div>\n         </div>\n-        <br>\n-        <div class=\"row\">\n-            <div class=\"col-md-2 col-lg-offset-1\" style=\"text-align:right\">\n+\t    <div class=\"row\">\n+            <div class=\"col-md-8 col-lg-offset-2 form-group\">\n                 <label for=\"txt_title\" {% if form.title.errors %} style=\"color:red;\" {% endif %}>{% trans 'title' %}</label>\n-            </div>\n-            <div class=\"col-md-4\">\n                 <input class=\"form-control\" id=\"txt_title\"  name=\"title\"\n                     style=\"margin:-6px;\" value=\"{{ form.title.value }}\">\n             </div>\n-            <div class=\"col-md-1 col-lg-offset-2\" style=\"text-align:right\">\n+        </div>\n+        <div class=\"row {% if field.errors %}error{% endif %}\">\n+            <div class=\"col-md-8 col-lg-offset-2 form-group\">\n                 <label for=\"txt_visibility\">{% trans 'visibility' %}</label>\n-            </div>\n-            <div class=\"col-md-1\">\n-                <input class=\"form-control\" id=\"txt_visibility\"  name=\"visibility\"\n+                <br><input id=\"txt_visibility\"  name=\"visibility\"\n                     style=\"margin:-6px;\" type=\"checkbox\" {% if form.visibility.value %} checked {% endif %}>\n             </div>\n         </div>\n-        <br>\n         <div class=\"row {% if field.errors %}error{% endif %}\">\n-            <div class=\"col-md-2 col-lg-offset-1\" style=\"text-align:right\">\n+            <div class=\"col-md-8 col-lg-offset-2 form-group\">\n                 <label for=\"txt_description\">{% trans 'description' %}</label>\n-            </div>\n-            <div class=\"col-md-8\">\n                 <textarea class=\"form-control\" id=\"txt_description\"  name=\"description\" rows=\"10\" style=\"margin:-6px;\">{{ form.description.value }}</textarea>\n             </div>\n         </div>\n-        <br>\n         <div class=\"row\">\n-            <div class=\"col-md-1 col-lg-offset-2\" style=\"text-align:right\">\n-                <label for=\"txt_type\">{% trans 'type' %}</label>\n-            </div>\n-            <div class=\"col-md-3\">\n+            <div class=\"col-md-8 col-lg-offset-2 form-group\">\n+                <label for=\"txt_type\">{% trans 'subject_type' %}</label>\n                 <select class=\"form-control\" id=\"txt_type\"  name=\"type\" style=\"margin:-6px;\">\n                     {% for type in types_choices %}\n                         <option value=\"{{ type.0 }}\" {% if form.type.value == type.0 %}selected{% endif %}>{{ type.1}}</option>\n                     {% endfor %}\n                 </select>\n             </div>\n-            <div class=\"col-md-1\" style=\"text-align:right\">\n+        </div>\n+        <div class=\"row\">\n+            <div class=\"col-md-8 col-lg-offset-2 form-group\">\n                 <label for=\"txt_level\">{% trans 'level' %}</label>\n-            </div>\n-            <div class=\"col-md-3\">\n                 <select class=\"form-control\" id=\"txt_level\"  name=\"level\" style=\"margin:-6px;\">\n                     {% for level in levels_choices %}\n                         <option value=\"{{ level.0 }}\" {% if form.level.value == level.0 %}selected{% endif %}>{{ level.1}}</option>\n                     {% endfor %}\n                 </select>\n             </div>\n         </div>\n-        <br>\n         <div class=\"row\">\n-            <div class=\"col-md-2 col-lg-offset-1\" style=\"text-align:right\">\n+            <div class=\"col-md-8 col-lg-offset-2 form-group\">\n                 <label for=\"txt_collaboration\">{% trans 'collaboration' %}</label>\n-            </div>\n-            <div class=\"col-md-3\">\n                 <select class=\"form-control\" id=\"txt_collaboration\"  name=\"collaboration\" style=\"margin:-6px;\">\n                     {% for collaboration in collaborations_choices %}\n                         <option value=\"{{ collaboration.0 }}\" {% if form.collaboration.value == collaboration.0 %}selected{% endif %}>{{ collaboration.1}}</option>\n                     {% endfor %}\n                 </select>\n             </div>\n-            <div class=\"col-md-3\" style=\"text-align:right\">\n+        </div>\n+        <div class=\"row\">\n+            <div class=\"col-md-8 col-lg-offset-2 form-group\">\n                 <label for=\"txt_max_students_number\" {% if form.max_number_student.errors %} style=\"color:red;\" {% endif %}>{% trans 'max_students_number' %}</label>\n-            </div>\n-            <div class=\"col-md-1\">\n                 <input class=\"form-control\" id=\"txt_max_students_number\"  name=\"max_number_student\"\n-                    style=\"margin:-6px;text-align:center;\" value=\"{{ form.max_number_student.value }}\">\n+                    style=\"margin:-6px;\" value=\"{{ form.max_number_student.value }}\">\n             </div>\n         </div>\n-        <br>\n         <div class=\"row\">\n-            <div class=\"col-md-7 col-lg-offset-3\">\n-                {% for checkbox in form.offer_proposition %}\n-                    <div class=\"col-md-2\">\n+            <div class=\"col-md-8 col-lg-offset-2 form-group\">\n+                <label for=\"txt_level\">{% trans 'offer_propositions' %}</label>\n+                <ul style=\"list-style-type: none;\">\n+                {% for checkbox in form.offer_proposition|dictsort:\"choice_label\" %}\n+                    <li>\n                         {{ checkbox.tag }}\n                         <label for=\"txt_visibility\" {% if form.offer_proposition.errors %} style=\"color:red;\" {% endif %}>{{ checkbox.choice_label }}</label>\n-                    </div>\n+                    </li>\n                 {% endfor %}\n+                </ul>\n+            </div>\n+        </div>\n+        <div class=\"row\">\n+            <div class=\"col-md-12\" style=\"text-align: right;\">","path":"dissertation/templates/proposition_dissertation_edit.html","position":128,"original_position":128,"commit_id":"f9f218a990b83685ec4411b2d33b7d9014b4a8c6","original_commit_id":"f9f218a990b83685ec4411b2d33b7d9014b4a8c6","user":{"login":"htmfilho","id":200272,"avatar_url":"https://avatars.githubusercontent.com/u/200272?v=3","gravatar_id":"","url":"https://api.github.com/users/htmfilho","html_url":"https://github.com/htmfilho","followers_url":"https://api.github.com/users/htmfilho/followers","following_url":"https://api.github.com/users/htmfilho/following{/other_user}","gists_url":"https://api.github.com/users/htmfilho/gists{/gist_id}","starred_url":"https://api.github.com/users/htmfilho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htmfilho/subscriptions","organizations_url":"https://api.github.com/users/htmfilho/orgs","repos_url":"https://api.github.com/users/htmfilho/repos","events_url":"https://api.github.com/users/htmfilho/events{/privacy}","received_events_url":"https://api.github.com/users/htmfilho/received_events","type":"User","site_admin":false},"body":"`row` + `col-md-12` = pas de `row` ni `col-md-12`","created_at":"2016-09-15T15:05:51Z","updated_at":"2016-09-15T15:05:51Z","html_url":"https://github.com/uclouvain/osis/pull/1329#discussion_r78986121","pull_request_url":"https://api.github.com/repos/uclouvain/osis/pulls/1329","_links":{"self":{"href":"https://api.github.com/repos/uclouvain/osis/pulls/comments/78986121"},"html":{"href":"https://github.com/uclouvain/osis/pull/1329#discussion_r78986121"},"pull_request":{"href":"https://api.github.com/repos/uclouvain/osis/pulls/1329"}}},"pull_request":{"url":"https://api.github.com/repos/uclouvain/osis/pulls/1329","id":84676363,"html_url":"https://github.com/uclouvain/osis/pull/1329","diff_url":"https://github.com/uclouvain/osis/pull/1329.diff","patch_url":"https://github.com/uclouvain/osis/pull/1329.patch","issue_url":"https://api.github.com/repos/uclouvain/osis/issues/1329","number":1329,"state":"open","locked":false,"title":"Issue#1125 Corrections suite à réunion","user":{"login":"matgerard","id":14902946,"avatar_url":"https://avatars.githubusercontent.com/u/14902946?v=3","gravatar_id":"","url":"https://api.github.com/users/matgerard","html_url":"https://github.com/matgerard","followers_url":"https://api.github.com/users/matgerard/followers","following_url":"https://api.github.com/users/matgerard/following{/other_user}","gists_url":"https://api.github.com/users/matgerard/gists{/gist_id}","starred_url":"https://api.github.com/users/matgerard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matgerard/subscriptions","organizations_url":"https://api.github.com/users/matgerard/orgs","repos_url":"https://api.github.com/users/matgerard/repos","events_url":"https://api.github.com/users/matgerard/events{/privacy}","received_events_url":"https://api.github.com/users/matgerard/received_events","type":"User","site_admin":false},"body":"Inform the ticket you are solving in this pull request: #1125\r\n\r\nTo have your pull request accepted you have to make sure that:\r\n\r\n- [X] it contains only **well formatted** code, using **4 spaces** for identation and a maximum of **120 characters** per line.\r\n- [X] classes, methods or function names are **not abreviated**.\r\n- [X] the code seems **readable for other developers** who will maintain this code in the future.\r\n- [X] in case complexity is needed, then the code is very **well documented**.\r\n- [X] all files contain the **license header**.\r\n- [X] if a ***model*** is modified or created, ***fixtures*** files should be modified to reflect the modification.\r\n","created_at":"2016-09-09T16:04:38Z","updated_at":"2016-09-15T15:15:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c972fdd3bcd4947586676989ec8833222e61ec00","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/uclouvain/osis/pulls/1329/commits","review_comments_url":"https://api.github.com/repos/uclouvain/osis/pulls/1329/comments","review_comment_url":"https://api.github.com/repos/uclouvain/osis/pulls/comments{/number}","comments_url":"https://api.github.com/repos/uclouvain/osis/issues/1329/comments","statuses_url":"https://api.github.com/repos/uclouvain/osis/statuses/f9f218a990b83685ec4411b2d33b7d9014b4a8c6","head":{"label":"uclouvain:issue#1125","ref":"issue#1125","sha":"f9f218a990b83685ec4411b2d33b7d9014b4a8c6","user":{"login":"uclouvain","id":9862060,"avatar_url":"https://avatars.githubusercontent.com/u/9862060?v=3","gravatar_id":"","url":"https://api.github.com/users/uclouvain","html_url":"https://github.com/uclouvain","followers_url":"https://api.github.com/users/uclouvain/followers","following_url":"https://api.github.com/users/uclouvain/following{/other_user}","gists_url":"https://api.github.com/users/uclouvain/gists{/gist_id}","starred_url":"https://api.github.com/users/uclouvain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uclouvain/subscriptions","organizations_url":"https://api.github.com/users/uclouvain/orgs","repos_url":"https://api.github.com/users/uclouvain/repos","events_url":"https://api.github.com/users/uclouvain/events{/privacy}","received_events_url":"https://api.github.com/users/uclouvain/received_events","type":"Organization","site_admin":false},"repo":{"id":37489388,"name":"osis","full_name":"uclouvain/osis","owner":{"login":"uclouvain","id":9862060,"avatar_url":"https://avatars.githubusercontent.com/u/9862060?v=3","gravatar_id":"","url":"https://api.github.com/users/uclouvain","html_url":"https://github.com/uclouvain","followers_url":"https://api.github.com/users/uclouvain/followers","following_url":"https://api.github.com/users/uclouvain/following{/other_user}","gists_url":"https://api.github.com/users/uclouvain/gists{/gist_id}","starred_url":"https://api.github.com/users/uclouvain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uclouvain/subscriptions","organizations_url":"https://api.github.com/users/uclouvain/orgs","repos_url":"https://api.github.com/users/uclouvain/repos","events_url":"https://api.github.com/users/uclouvain/events{/privacy}","received_events_url":"https://api.github.com/users/uclouvain/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/uclouvain/osis","description":"Open Student Information System","fork":false,"url":"https://api.github.com/repos/uclouvain/osis","forks_url":"https://api.github.com/repos/uclouvain/osis/forks","keys_url":"https://api.github.com/repos/uclouvain/osis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uclouvain/osis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uclouvain/osis/teams","hooks_url":"https://api.github.com/repos/uclouvain/osis/hooks","issue_events_url":"https://api.github.com/repos/uclouvain/osis/issues/events{/number}","events_url":"https://api.github.com/repos/uclouvain/osis/events","assignees_url":"https://api.github.com/repos/uclouvain/osis/assignees{/user}","branches_url":"https://api.github.com/repos/uclouvain/osis/branches{/branch}","tags_url":"https://api.github.com/repos/uclouvain/osis/tags","blobs_url":"https://api.github.com/repos/uclouvain/osis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uclouvain/osis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uclouvain/osis/git/refs{/sha}","trees_url":"https://api.github.com/repos/uclouvain/osis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uclouvain/osis/statuses/{sha}","languages_url":"https://api.github.com/repos/uclouvain/osis/languages","stargazers_url":"https://api.github.com/repos/uclouvain/osis/stargazers","contributors_url":"https://api.github.com/repos/uclouvain/osis/contributors","subscribers_url":"https://api.github.com/repos/uclouvain/osis/subscribers","subscription_url":"https://api.github.com/repos/uclouvain/osis/subscription","commits_url":"https://api.github.com/repos/uclouvain/osis/commits{/sha}","git_commits_url":"https://api.github.com/repos/uclouvain/osis/git/commits{/sha}","comments_url":"https://api.github.com/repos/uclouvain/osis/comments{/number}","issue_comment_url":"https://api.github.com/repos/uclouvain/osis/issues/comments{/number}","contents_url":"https://api.github.com/repos/uclouvain/osis/contents/{+path}","compare_url":"https://api.github.com/repos/uclouvain/osis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uclouvain/osis/merges","archive_url":"https://api.github.com/repos/uclouvain/osis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uclouvain/osis/downloads","issues_url":"https://api.github.com/repos/uclouvain/osis/issues{/number}","pulls_url":"https://api.github.com/repos/uclouvain/osis/pulls{/number}","milestones_url":"https://api.github.com/repos/uclouvain/osis/milestones{/number}","notifications_url":"https://api.github.com/repos/uclouvain/osis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uclouvain/osis/labels{/name}","releases_url":"https://api.github.com/repos/uclouvain/osis/releases{/id}","deployments_url":"https://api.github.com/repos/uclouvain/osis/deployments","created_at":"2015-06-15T20:25:28Z","updated_at":"2016-05-30T14:47:51Z","pushed_at":"2016-09-15T13:06:47Z","git_url":"git://github.com/uclouvain/osis.git","ssh_url":"git@github.com:uclouvain/osis.git","clone_url":"https://github.com/uclouvain/osis.git","svn_url":"https://github.com/uclouvain/osis","homepage":"http://uclouvain.github.io/osis","size":17151,"stargazers_count":8,"watchers_count":8,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":7,"mirror_url":null,"open_issues_count":92,"forks":7,"open_issues":92,"watchers":8,"default_branch":"dev"}},"base":{"label":"uclouvain:dev","ref":"dev","sha":"24664eb5ec8e4e34614685ff18853b68a5379672","user":{"login":"uclouvain","id":9862060,"avatar_url":"https://avatars.githubusercontent.com/u/9862060?v=3","gravatar_id":"","url":"https://api.github.com/users/uclouvain","html_url":"https://github.com/uclouvain","followers_url":"https://api.github.com/users/uclouvain/followers","following_url":"https://api.github.com/users/uclouvain/following{/other_user}","gists_url":"https://api.github.com/users/uclouvain/gists{/gist_id}","starred_url":"https://api.github.com/users/uclouvain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uclouvain/subscriptions","organizations_url":"https://api.github.com/users/uclouvain/orgs","repos_url":"https://api.github.com/users/uclouvain/repos","events_url":"https://api.github.com/users/uclouvain/events{/privacy}","received_events_url":"https://api.github.com/users/uclouvain/received_events","type":"Organization","site_admin":false},"repo":{"id":37489388,"name":"osis","full_name":"uclouvain/osis","owner":{"login":"uclouvain","id":9862060,"avatar_url":"https://avatars.githubusercontent.com/u/9862060?v=3","gravatar_id":"","url":"https://api.github.com/users/uclouvain","html_url":"https://github.com/uclouvain","followers_url":"https://api.github.com/users/uclouvain/followers","following_url":"https://api.github.com/users/uclouvain/following{/other_user}","gists_url":"https://api.github.com/users/uclouvain/gists{/gist_id}","starred_url":"https://api.github.com/users/uclouvain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uclouvain/subscriptions","organizations_url":"https://api.github.com/users/uclouvain/orgs","repos_url":"https://api.github.com/users/uclouvain/repos","events_url":"https://api.github.com/users/uclouvain/events{/privacy}","received_events_url":"https://api.github.com/users/uclouvain/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/uclouvain/osis","description":"Open Student Information System","fork":false,"url":"https://api.github.com/repos/uclouvain/osis","forks_url":"https://api.github.com/repos/uclouvain/osis/forks","keys_url":"https://api.github.com/repos/uclouvain/osis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uclouvain/osis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uclouvain/osis/teams","hooks_url":"https://api.github.com/repos/uclouvain/osis/hooks","issue_events_url":"https://api.github.com/repos/uclouvain/osis/issues/events{/number}","events_url":"https://api.github.com/repos/uclouvain/osis/events","assignees_url":"https://api.github.com/repos/uclouvain/osis/assignees{/user}","branches_url":"https://api.github.com/repos/uclouvain/osis/branches{/branch}","tags_url":"https://api.github.com/repos/uclouvain/osis/tags","blobs_url":"https://api.github.com/repos/uclouvain/osis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uclouvain/osis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uclouvain/osis/git/refs{/sha}","trees_url":"https://api.github.com/repos/uclouvain/osis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uclouvain/osis/statuses/{sha}","languages_url":"https://api.github.com/repos/uclouvain/osis/languages","stargazers_url":"https://api.github.com/repos/uclouvain/osis/stargazers","contributors_url":"https://api.github.com/repos/uclouvain/osis/contributors","subscribers_url":"https://api.github.com/repos/uclouvain/osis/subscribers","subscription_url":"https://api.github.com/repos/uclouvain/osis/subscription","commits_url":"https://api.github.com/repos/uclouvain/osis/commits{/sha}","git_commits_url":"https://api.github.com/repos/uclouvain/osis/git/commits{/sha}","comments_url":"https://api.github.com/repos/uclouvain/osis/comments{/number}","issue_comment_url":"https://api.github.com/repos/uclouvain/osis/issues/comments{/number}","contents_url":"https://api.github.com/repos/uclouvain/osis/contents/{+path}","compare_url":"https://api.github.com/repos/uclouvain/osis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uclouvain/osis/merges","archive_url":"https://api.github.com/repos/uclouvain/osis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uclouvain/osis/downloads","issues_url":"https://api.github.com/repos/uclouvain/osis/issues{/number}","pulls_url":"https://api.github.com/repos/uclouvain/osis/pulls{/number}","milestones_url":"https://api.github.com/repos/uclouvain/osis/milestones{/number}","notifications_url":"https://api.github.com/repos/uclouvain/osis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uclouvain/osis/labels{/name}","releases_url":"https://api.github.com/repos/uclouvain/osis/releases{/id}","deployments_url":"https://api.github.com/repos/uclouvain/osis/deployments","created_at":"2015-06-15T20:25:28Z","updated_at":"2016-05-30T14:47:51Z","pushed_at":"2016-09-15T13:06:47Z","git_url":"git://github.com/uclouvain/osis.git","ssh_url":"git@github.com:uclouvain/osis.git","clone_url":"https://github.com/uclouvain/osis.git","svn_url":"https://github.com/uclouvain/osis","homepage":"http://uclouvain.github.io/osis","size":17151,"stargazers_count":8,"watchers_count":8,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":7,"mirror_url":null,"open_issues_count":92,"forks":7,"open_issues":92,"watchers":8,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/uclouvain/osis/pulls/1329"},"html":{"href":"https://github.com/uclouvain/osis/pull/1329"},"issue":{"href":"https://api.github.com/repos/uclouvain/osis/issues/1329"},"comments":{"href":"https://api.github.com/repos/uclouvain/osis/issues/1329/comments"},"review_comments":{"href":"https://api.github.com/repos/uclouvain/osis/pulls/1329/comments"},"review_comment":{"href":"https://api.github.com/repos/uclouvain/osis/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/uclouvain/osis/pulls/1329/commits"},"statuses":{"href":"https://api.github.com/repos/uclouvain/osis/statuses/f9f218a990b83685ec4411b2d33b7d9014b4a8c6"}}}}
{"actor":{"display_login":"htmfilho"}}