<commit_before>!= View::make('decoy::shared.form._header', $__data)

%fieldset
	.legend=empty($item)?'New':'Edit'

	!= Former::text('first_name') 
	!= Former::text('last_name') 

	!= Former::text('email')
	-if (Config::get('decoy::core.obscure_admin_password'))
		!= Former::password('password')
		!= Former::password('<PASSWORD>')
	-else
		!= Former::text('password')->forceValue(empty($item)?Str::random(16):null)->placeholder(empty($item)?null:'Leave blank to prevent change')

	!= Former::image('image') 

	-if (app('decoy.auth')->can('manage', $controller) && ($roles = Config::get('decoy::site.roles')) && !empty($roles))
		!= Former::radios('role')->radios(Bkwld\Library\Laravel\Former::radioArray($roles))
		!= View::make('decoy::admins._permissions', $__data)

	!= Former::checkbox('_send_email', ' ')->value(1)->text(empty($item)?'Send welcome email, including password':'Email '.$item->first_name.' with login changes')

	-# Create moderation actions
	-ob_start()
	-if (!empty($item) && app('decoy.auth')->can('manage', $controller))

		-# Disable admin
		-if (!$item->disabled())
			%a.btn.btn-warning.js-tooltip(title="Remove ability to login" href=URL::to(DecoyURL::relative('disable', $item->id)))
				%span.glyphicon.glyphicon-ban-circle
				Disable
		-else<commit_msg>Adding a label next to the email checkbox<commit_after>!= View::make('decoy::shared.form._header', $__data)

%fieldset
	.legend=empty($item)?'New':'Edit'

	!= Former::text('first_name') 
	!= Former::text('last_name') 

	!= Former::text('email')
	-if (Config::get('decoy::core.obscure_admin_password'))
		!= Former::password('password')
		!= Former::password('<PASSWORD>')
	-else
		!= Former::text('password')->forceValue(empty($item)?Str::random(16):null)->placeholder(empty($item)?null:'Leave blank to prevent change')

	!= Former::image('image') 

	-if (app('decoy.auth')->can('manage', $controller) && ($roles = Config::get('decoy::site.roles')) && !empty($roles))
		!= Former::radios('role')->radios(Bkwld\Library\Laravel\Former::radioArray($roles))
		!= View::make('decoy::admins._permissions', $__data)

	!= Former::checkbox('_send_email', 'Notify')->value(1)->text(empty($item)?'Send welcome email, including password':'Email '.$item->first_name.' with login changes')

	-# Create moderation actions
	-ob_start()
	-if (!empty($item) && app('decoy.auth')->can('manage', $controller))

		-# Disable admin
		-if (!$item->disabled())
			%a.btn.btn-warning.js-tooltip(title="Remove ability to login" href=URL::to(DecoyURL::relative('disable', $item->id)))
				%span.glyphicon.glyphicon-ban-circle
				Disable
		-else
{'fraction_non_alphanumeric': 0.2305032654629274, 'fraction_numerical': 0.002305032654629274, 'mean_word_length': 6.68141592920354, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 25, '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': '6515667', 'n_tokens_mistral': 934, 'n_tokens_neox': 857, 'n_words': 124}