<commit_before>div(ng-include='"components/navbar/navbar.html"')
form.form-horizontal(role="form", name="newBounceForm",novalidate, ng-submit="submit()")
	.container
		.row
			.col-lg-12.text-center.vertical-spacer
				h1 Create your own Bounce
				h4 Just provide the required stuff below and you are almost done!


		.row.col-lg-12.text-center.alert.alert-danger(ng-show="newBounceForm.hadErrors")
			span Bummer, you utterly failed

		.row.form-group
			.col-sm-3.text-sm-right.col-sm-offset-1
				label.control-label Remind me in:
			.col-sm-5
				select.form-control(name="amount", ng-model="bounce.amount")
					each amount in [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
						option(value="#{amount}") #{amount}
				select.form-control(name="unit", ng-model="bounce.unit")
					each unit in ["hours","days","weeks","months"]
						option(value="#{unit}") #{unit}

		.row.form-group(ng-class="{'has-error': newBounceForm.hadErrors && newBounceForm.topic.$invalid}")
			.col-sm-3.text-sm-right.col-sm-offset-1
				label.control-label(for="topic") Remind me of:
			.col-sm-5
				input.form-control(.
					type="text", 
					placeholder="bounce topic", 
					name="topic", 
					ng-model="bounce.topic", 
					required, ng-minlength=4, ng-maxlength=120)
				span.help-block(ng-show="newBounceForm.hadErrors && newBounceForm.topic.$error.required") Required value
				span.help-block(ng-show="newBounceForm.hadErrors && newBounceForm.topic.$error.minlength") Too short
				span.help-block(ng-show="newBounceForm.hadErrors && newBounceForm.topic.$error.maxlength") Too long
		
		
		.row.form-group(ng-class="{'has-error': newBounceForm.hadErrors && newBounceForm.email.$invalid}")
			.col-sm-3.text-sm-right.col-sm-offset-1
				label.control-label(for="email") Remind me to:
			.col-sm-5
				input.form-control(.
					type="email", 
					placeholder="your email", 
					name="email", 
					ng-model="bounce.email",
					required)
				span.help-block(ng-show="newBounceForm.hadErrors && newBounceForm.email.$invalid") Invalid email

		.row
			.col-sm-8.col-sm-offset-4
				button.btn-primary.btn(type="button") Set bounce for {{calculateMoment()}}
	

<commit_msg>FIX: Create button submit issue<commit_after>div(ng-include='"components/navbar/navbar.html"')
form.form-horizontal(role="form", name="newBounceForm",novalidate, ng-submit="submit()")
	.container
		.row
			.col-lg-12.text-center.vertical-spacer
				h1 Create your own Bounce
				h4 Just provide the required stuff below and you are almost done!


		.row.col-lg-12.text-center.alert.alert-danger(ng-show="newBounceForm.hadErrors && newBounceForm.$invalid")
			span Bummer, you utterly failed

		.row.form-group
			.col-sm-3.text-sm-right.col-sm-offset-1
				label.control-label Remind me in:
			.col-sm-5
				select.form-control(name="amount", ng-model="bounce.amount")
					each amount in [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
						option(value="#{amount}") #{amount}
				select.form-control(name="unit", ng-model="bounce.unit")
					each unit in ["hours","days","weeks","months"]
						option(value="#{unit}") #{unit}

		.row.form-group(ng-class="{'has-error': newBounceForm.hadErrors && newBounceForm.topic.$invalid}")
			.col-sm-3.text-sm-right.col-sm-offset-1
				label.control-label(for="topic") Remind me of:
			.col-sm-5
				input.form-control(.
					type="text", 
					placeholder="bounce topic", 
					name="topic", 
					ng-model="bounce.topic", 
					required, ng-minlength=4, ng-maxlength=120)
				span.help-block(ng-show="newBounceForm.hadErrors && newBounceForm.topic.$error.required") Required value
				span.help-block(ng-show="newBounceForm.hadErrors && newBounceForm.topic.$error.minlength") Too short
				span.help-block(ng-show="newBounceForm.hadErrors && newBounceForm.topic.$error.maxlength") Too long
		
		
		.row.form-group(ng-class="{'has-error': newBounceForm.hadErrors && newBounceForm.email.$invalid}")
			.col-sm-3.text-sm-right.col-sm-offset-1
				label.control-label(for="email") Remind me to:
			.col-sm-5
				input.form-control(.
					type="email", 
					placeholder="your email", 
					name="email", 
					ng-model="bounce.email",
					required)
				span.help-block(ng-show="newBounceForm.hadErrors && newBounceForm.email.$invalid") Invalid email

		.row
			.col-sm-8.col-sm-offset-4
				button.btn-primary.btn(type="submit") Set bounce for {{calculateMoment()}}
	


{'fraction_non_alphanumeric': 0.17050161067648412, 'fraction_numerical': 0.014726184997699034, 'mean_word_length': 3.654175588865096, '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': '7562362', 'n_tokens_mistral': 1835, 'n_tokens_neox': 1526, 'n_words': 243}