<commit_before>template(name="editEkloreQuestion")
	.container
		.panel.panel-default
			.panel-heading
				h3 {{_ "questionEdition"}} : #{title}
			.panel-body
				.panel.panel-default
					.panel-body
						form
							.form-group
								label(for="ekloreQuestionTitle") {{_ "ekloreQuestionTitle"}}
								input#ekloreQuestionTitle.form-control(type="text" value="#{title}")
							.form-group
								label(for="ekloreQuestionLevel") {{_ "ekloreQuestionLevel"}}
								input#ekloreQuestionLevel.form-control(type="number" min="2" max="100" step="1" value="#{level}")
							if deprecated
								.radio
									label
									input(type="radio" name="deprecated" value="notDeprecated")
									| {{_ "active"}}
								.radio
									label
									input(type="radio" name="deprecated" value="deprecated" checked)
									| {{_ "inactive"}}
							else
								.radio
									label
									input(type="radio" name="deprecated" value="notDeprecated" checked)
									| {{_ "active"}}
								.radio
									label
									input(type="radio" name="deprecated" value="deprecated")
									| {{_ "inactive"}}
					.panel-footer
						.row
							.col-xs-12.col-sm-6.col-md-6.col-lg-6
								a.btn.btn-danger.btn-block(role="button" href="{{pathFor 'admin'}}") {{_ "cancel"}}
							.col-xs-12.col-sm-6.col-md-6.col-lg-6
								button#save.btn.btn-success.btn-block {{_ "save"}}
				.panel.panel-default
					.panel-heading
						h4 Groupe de question lié à la question
					.panel-body
						if questionGroupId
							with questionGroupData
								p #{title}
									button.btn.pull-rigth.btn-danger {{_ "remove"}}
						else
							each questionsGroups
								p #{title}
									button.btn.btn-success.btn-xs(type="submit") {{_ "linkToEkloreQuestion"}}
				.panel.panel-default
					.panel-heading
						h4 Choix
					.panel-body
						each choices
							p display choice
					.panel-footer
						p add choices<commit_msg>Use deprecated, move elements and add feature to link QuestionGroup to Eklore question<commit_after>template(name="editEkloreQuestion")
	.container
		.panel.panel-default
			.panel-heading
				h3 {{_ "questionEdition"}} : #{title}
			.panel-body
				.panel.panel-default
					.panel-body
						form
							.form-group
								label(for="ekloreQuestionTitle") {{_ "ekloreQuestionTitle"}}
								input#ekloreQuestionTitle.form-control(type="text" value="#{title}")
							.form-group
								label(for="ekloreQuestionLevel") {{_ "ekloreQuestionLevel"}}
								input#ekloreQuestionLevel.form-control(type="number" min="2" max="100" step="1" value="#{level}")
							+editDeprecated
						.panel.panel-default
							.panel-heading
								h4.panel-title Choix
							.panel-body
								each choices
									p display choice
					.panel-footer
						.row
							.col-xs-12.col-sm-6.col-md-6.col-lg-6
								a.btn.btn-danger.btn-block(role="button" href="{{pathFor 'admin'}}") {{_ "cancel"}}
							.col-xs-12.col-sm-6.col-md-6.col-lg-6
								button#save.btn.btn-success.btn-block {{_ "save"}}
				if questionGroupId
					.panel.panel-default
						.panel-heading
							h4 Groupe de question lié à la question
						.panel-body
								with questionGroupData
									p #{title}
										button.btn.pull-rigth.btn-danger {{_ "remove"}}
				else
					.panel.panel-default
						.panel-heading
							h4 Groupe de question disponibles
						.panel-body
							.row
								each questionsGroups
									.col-xs-12.col-sm-6.col-md-6.col-lg-6
										.panel.panel-default
											.panel-body
												p #{title}
													button.btn.linkToEkloreQuestion.pull-right.btn-success(type="submit") {{_ "linkToEkloreQuestion"}}
{'fraction_non_alphanumeric': 0.14106753812636166, 'fraction_numerical': 0.011437908496732025, 'mean_word_length': 2.2446996466431095, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '373257', 'n_tokens_mistral': 1795, 'n_tokens_neox': 1182, 'n_words': 197}