<commit_before>- content_for :content
	.row
		.col-sm-3.col-lg-2
			= image_tag "no-profile-img.jpg", class: "img-responsive"
			= link_to t('edit information').humanize, edit_user_path(@user), class: "btn btn-success btn-block btn-flat"

		.col-sm-9.col-lg-10
			.table-responsive
				table.table.table-condensed
					tbody
						tr
							td = t('email').humanize
							td = @user.email
						tr
							td = t('phone').humanize
							td = @user.phone
						tr
							td = t('country').humanize
							td = @user.country
						tr
							td = t('token').humanize
							td = @user.auth_token
							td = link_to t('regenerate').humanize, regenerate_auth_token_path(@user), class: "btn btn-default btn-sm", method: :patch

= render template: "layouts/box", locals: { title: "#{t('user').humanize}: #{@user.name} #{@user.surname}" }<commit_msg>Restrict to user api.<commit_after>- content_for :content
	.row
		.col-sm-3.col-lg-2
			= image_tag "no-profile-img.jpg", class: "img-responsive"
			= link_to t('edit information').humanize, edit_user_path(@user), class: "btn btn-success btn-block btn-flat"

		.col-sm-9.col-lg-10
			.table-responsive
				table.table.table-condensed
					tbody
						tr
							td = t('email').humanize
							td = @user.email
						tr
							td = t('phone').humanize
							td = @user.phone
						tr
							td = t('country').humanize
							td = @user.country

						- if @user.api?
							tr
								td = t('token').humanize
								td = @user.auth_token
								td = link_to t('regenerate').humanize, regenerate_auth_token_path(@user), class: "btn btn-default btn-sm", method: :patch

= render template: "layouts/box", locals: { title: "#{t('user').humanize}: #{@user.name} #{@user.surname}" }
{'fraction_non_alphanumeric': 0.16192687173534534, 'fraction_numerical': 0.005803830528148578, 'mean_word_length': 2.6294736842105264, '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': '2860767', 'n_tokens_mistral': 794, 'n_tokens_neox': 592, 'n_words': 125}