<commit_before>{% import "@Admin/forms.twig" as forms %}

<form name="form" data-ng-submit="submit()" class="form-horizontal" novalidate>
	<fieldset data-ng-show="section==''"
		data-form-section-label="{{ i18nAttr('m.rbs.admin.general-properties', ['ucf']) }}"
		data-form-section-group="{{ i18nAttr('m.rbs.admin.properties', ['ucf']) }}">
		{{ forms.field('label', 'String', 'm.rbs.media.document.image.label', true) }}
		{{ forms.field('alt', 'String', 'm.rbs.media.document.image.alt', false) }}
		{{ forms.field('localizePath', 'Boolean', 'm.rbs.media.document.image.localizepath', false) }}

		<div class="control-group">
			<label class="control-label" for="file">{{ i18n('m.rbs.media.document.image.path', ['ucf']) }}</label>
			<div class="controls">
				<div class="image-uploader" ng-model="document.path"></div>
			</div>
		</div>

	</fieldset>

	<fieldset data-ng-show="section=='systeminfo'"
		data-form-section-label="{{ i18nAttr('m.rbs.admin.admin.js.status', ['ucf']) }}"
		data-form-section-group="{{ i18nAttr('m.rbs.admin.information', ['ucf']) }}"
		data-document-system-info-section>
	</fieldset>

	<fieldset data-ng-show="section=='fileinfo'"
		data-form-section-label="{{ i18nAttr('m.rbs.media.document.image.file-informations', ['ucf']) }}"<commit_msg>"File info" menu section is now hidden when creating a new Rbs_Media_Image.<commit_after>{% import "@Admin/forms.twig" as forms %}

<form name="form" data-ng-submit="submit()" class="form-horizontal" novalidate>
	<fieldset data-ng-show="section==''"
		data-form-section-label="{{ i18nAttr('m.rbs.admin.general-properties', ['ucf']) }}"
		data-form-section-group="{{ i18nAttr('m.rbs.admin.properties', ['ucf']) }}">
		{{ forms.field('label', 'String', 'm.rbs.media.document.image.label', true) }}
		{{ forms.field('alt', 'String', 'm.rbs.media.document.image.alt', false) }}
		{{ forms.field('localizePath', 'Boolean', 'm.rbs.media.document.image.localizepath', false) }}

		<div class="control-group">
			<label class="control-label" for="file">{{ i18n('m.rbs.media.document.image.path', ['ucf']) }}</label>
			<div class="controls">
				<div class="image-uploader" ng-model="document.path"></div>
			</div>
		</div>

	</fieldset>

	<fieldset data-ng-show="section=='systeminfo'"
		data-form-section-label="{{ i18nAttr('m.rbs.admin.admin.js.status', ['ucf']) }}"
		data-form-section-group="{{ i18nAttr('m.rbs.admin.information', ['ucf']) }}"
		data-document-system-info-section>
	</fieldset>

	<fieldset data-ng-show="section=='fileinfo'"
		hide-when-create="true"
		data-form-section-label="{{ i18nAttr('m.rbs.media.document.image.file-informations', ['ucf']) }}"
{'fraction_non_alphanumeric': 0.23787878787878788, 'fraction_numerical': 0.00909090909090909, 'mean_word_length': 5.258293838862559, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 29, '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': '4820183', 'n_tokens_mistral': 1025, 'n_tokens_neox': 949, 'n_words': 134}