<div class="row">
	<div class="col-md-12 col-lg-12 px-4">
		<div class="mb-3">
			<label for="nombre" class="form-label">
				<?= lang('PapelGenerico.nombre') ?>*
			</label>
			<input type="text" id="nombre" name="nombre" required maxLength="255" class="form-control"
				value="<?= old('nombre', $papelGenerico->nombre) ?>">
		</div><!--//.mb-3 -->

		<div class="mb-3">
			<label for="code" class="form-label">
				<?= lang('PapelGenerico.code') ?>
			</label>
			<input type="text" id="code" name="code" maxLength="5" class="form-control"
				value="<?= old('code', $papelGenerico->code) ?>">
		</div><!--//.mb-3 -->

		<div class="mb-3">
			<label for="codeOt" class="form-label">
				<?= lang('PapelGenerico.codeOt') ?>
			</label>
			<input type="text" id="codeOt" name="code_ot" maxLength="5" class="form-control"
				value="<?= old('code_ot', $papelGenerico->code_ot) ?>">
		</div><!--//.mb-3 -->
		<div class="mb-3">
			<div class="form-check">
				<label for="activo_papel_generico" class="form-check-label">
					<?= lang('PapelGenerico.activo') ?>
				</label>
				<input type="checkbox" id="activo_papel_generico" name="activo" value="1"
					class="form-check-input" <?= $papelGenerico->activo == true ? 'checked' : ''; ?>>
			</div><!--//.form-check -->
		</div><!--//.mb-3 -->
		<div class="mb-3">
			<div class="form-check">

				<label for="showInClient" class="form-check-label">
					<?= lang('PapelGenerico.showInClient') ?>
				</label>
				<input type="checkbox" id="showInClient" name="show_in_client" value="1" class="form-check-input"
					<?= $papelGenerico->show_in_client_special == true ? 'disabled' : ''; ?>
					<?= $papelGenerico->show_in_client == true ? 'checked' : ''; ?>>

			</div><!--//.form-check -->
		</div><!--//.mb-3 -->

		<div class="mb-3">
			<div class="form-check">

				<label for="showInClientSpecial" class="form-check-label">
					<?= lang('PapelGenerico.showInClientSpecial') ?>
				</label>
				<input type="checkbox" id="showInClientSpecial" name="show_in_client_special" value="1"
					class="form-check-input" <?= $papelGenerico->show_in_client_special == true ? 'checked' : ''; ?>>


			</div><!--//.form-check -->
		</div><!--//.mb-3 -->

	</div><!--//.col -->

</div><!-- //.row -->