<commit_before>extends ../../layouts/default

block content
	.section.section-profile-form
		.container
			form(method='post', action='private_info').profile-form
				if user.canAccessKeystone
					a(href='/keystone', target='_blank').btn.btn-xs.btn-success.pull-right Open the Keystone Admin UI
				h4.profile-form__heading Your Profile
				.form-group
					.row
						.col-sm-6: input(type='text', name='name.first' value=user.name.first).input.input-xl.input-faded
						.col-sm-6: input(type='text', name='name.last' value=user.name.last).input.input-xl.input-faded
				.row
					.col-sm-6
						.form-group
							label.input-label Email
							input(type='email', name='email' value=user.email).input.input-labelled.input-faded
					.col-sm-6
						.form-group
							label.input-label Website
							input(type='text', name='website' value=user.website).input.input-labelled.input-faded
				.row
					.col-sm-6
						.form-group
							label.input-label Twitter
							input(type='text', name='twitter' value=user.twitter).input.input-labelled.input-faded
					.col-sm-6
						.form-group
							label.input-label Github
							input(type='text', name='github' value=user.github).input.input-labelled.input-faded
							
							
	//- NEXT MEETUP
	.section.section-next-meetup
		.container
			.row
				.col-sm-8.col-md-7
					if meetups.next
						.meetup-calendar.calendar
							.calendar__header=meetups.next._.date.format('MMM')
							.calendar__body
								.calendar__date=meetups.next._.date.format('DD')
								.calendar__year=meetups.next._.date.format('YYYY')
						.meetup-content
								.text-muted=meetups.next._.date.format('dddd Do MMM YYYY')
								h2.mt-0=meetups.next.name
								//- h4=meetups.next.name
								p!=meetups.next.description
								p.btn-group.btn-group-justified(data-toggle='buttons')
									label.btn.btn-default.js-rsvp-attending
										input(type='radio', name='rsvp', id='rsvp-attending')
										|  Coming
									label.btn.btn-default.js-rsvp-decline
										input(type='radio', name='rsvp', id='rsvp-decline')
										|  Not Coming
					else
						h2.mt-0 No upcoming meetups...
						p Follow us on Twitter to find out when we anounce the next meetup
						p: a(href="https://twitter.com/sydjs", class="twitter-follow-button", data-show-count="true") Follow @sydjs

				if meetups.past.length
					.col-sm-4.col-md-push-1
						h4.mt-0 You've been to...
						ul
							each attendedMU in meetups.past
								li=attendedMU.name
	
	
	//- PUBLIC INFO FORM
	.section.section-public-form
		.container
			h2.mt-0 Your profile
			.row
				.col-sm-8.col-md-7
					form(method='post').form-horizontal
						h3.mt-0 Public info
						.form-group
							.col-sm-10.col-sm-offset-2
								label.checkbox
									input(type='checkbox', name='isPublic')
									|  Show my profile on the SydJS website
						.form-group
							label.col-sm-2.control-label Bio
								br
								.text-muted (markdown)
							.col-sm-10
								textarea(name='bio', rows=5).form-control=user.bio
						.form-group
							label.col-sm-2.control-label Mentoring
							.col-sm-10
								label.checkbox
									input(type='checkbox', name='mentoring.available')
									|  Available as a mentor<commit_msg>Fixing the new markdown bio field<commit_after>extends ../../layouts/default

block content
	.section.section-profile-form
		.container
			form(method='post', action='private_info').profile-form
				if user.canAccessKeystone
					a(href='/keystone', target='_blank').btn.btn-xs.btn-success.pull-right Open the Keystone Admin UI
				h4.profile-form__heading Your Profile
				.form-group
					.row
						.col-sm-6: input(type='text', name='name.first' value=user.name.first).input.input-xl.input-faded
						.col-sm-6: input(type='text', name='name.last' value=user.name.last).input.input-xl.input-faded
				.row
					.col-sm-6
						.form-group
							label.input-label Email
							input(type='email', name='email' value=user.email).input.input-labelled.input-faded
					.col-sm-6
						.form-group
							label.input-label Website
							input(type='text', name='website' value=user.website).input.input-labelled.input-faded
				.row
					.col-sm-6
						.form-group
							label.input-label Twitter
							input(type='text', name='twitter' value=user.twitter).input.input-labelled.input-faded
					.col-sm-6
						.form-group
							label.input-label Github
							input(type='text', name='github' value=user.github).input.input-labelled.input-faded
							
							
	//- NEXT MEETUP
	.section.section-next-meetup
		.container
			.row
				.col-sm-8.col-md-7
					if meetups.next
						.meetup-calendar.calendar
							.calendar__header=meetups.next._.date.format('MMM')
							.calendar__body
								.calendar__date=meetups.next._.date.format('DD')
								.calendar__year=meetups.next._.date.format('YYYY')
						.meetup-content
								.text-muted=meetups.next._.date.format('dddd Do MMM YYYY')
								h2.mt-0=meetups.next.name
								//- h4=meetups.next.name
								p!=meetups.next.description
								p.btn-group.btn-group-justified(data-toggle='buttons')
									label.btn.btn-default.js-rsvp-attending
										input(type='radio', name='rsvp', id='rsvp-attending')
										|  Coming
									label.btn.btn-default.js-rsvp-decline
										input(type='radio', name='rsvp', id='rsvp-decline')
										|  Not Coming
					else
						h2.mt-0 No upcoming meetups...
						p Follow us on Twitter to find out when we anounce the next meetup
						p: a(href="https://twitter.com/sydjs", class="twitter-follow-button", data-show-count="true") Follow @sydjs

				if meetups.past.length
					.col-sm-4.col-md-push-1
						h4.mt-0 You've been to...
						ul
							each attendedMU in meetups.past
								li=attendedMU.name
	
	
	//- PUBLIC INFO FORM
	.section.section-public-form
		.container
			h2.mt-0 Your profile
			.row
				.col-sm-8.col-md-7
					form(method='post').form-horizontal
						h3.mt-0 Public info
						.form-group
							.col-sm-10.col-sm-offset-2
								label.checkbox
									input(type='checkbox', name='isPublic')
									|  Show my profile on the SydJS website
						.form-group
							label.col-sm-2.control-label Bio
								br
								.text-muted (markdown)
							.col-sm-10
								textarea(name='bio', rows=5).form-control=user.bio.md
						.form-group
							label.col-sm-2.control-label Mentoring
							.col-sm-10
								label.checkbox
									input(type='checkbox', name='mentoring.available')
									|  Available as a mentor
{'fraction_non_alphanumeric': 0.1406657462801043, 'fraction_numerical': 0.010431047706703483, 'mean_word_length': 2.2780291603821015, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '3194288', 'n_tokens_mistral': 3142, 'n_tokens_neox': 2171, 'n_words': 358}