<div class="row">
    <div class="col-md-12 col-lg-12 px-4">
        <div class="mb-3">
            <label for="nombre" class="form-label">
                <?= lang('Tarifaextra.nombre') ?>*
            </label>
            <input
                    type="text"
                    id="nombre"
                    name="nombre"
                    required
                    maxLength="255"
                    class="form-control"
                    value="<?= old('nombre', $tarifaextraEntity->nombre) ?>"
            >
        </div><!--//.mb-3 -->
        <div class="mb-3">
            <label for="code" class="form-label">
                <?= lang('Tarifaextra.code') ?>
            </label>
            <input
                type="text"
                id="code"
                name="code"
                maxLength="5"
                class="form-control"
                value="<?= old('code', $tarifaextraEntity->code) ?>">
        </div><!--//.mb-3 -->
        <div class="mb-3">
            <label for="precio" class="form-label">
                <?= lang('Tarifaextra.precio') ?>*
            </label>
            <input
                    type="number"
                    id="precio"
                    name="precio"
                    required
                    maxLength="31"
                    step="0.01"
                    class="form-control"
                    value="<?= old('precio', $tarifaextraEntity->precio) ?>"
            >
        </div><!--//.mb-3 -->

        <div class="mb-3">
            <label for="margen" class="form-label">
                <?= lang('Tarifaextra.margen') ?>*
            </label>
            <input
                    type="text"
                    id="margen"
                    name="margen"
                    required
                    class="form-control"
                    value="<?= old('margen', $tarifaextraEntity->margen) ?>"
            >
        </div><!--//.mb-3 -->

        <div class="mb-3">
            <label for="comment" class="form-label">
                <?= lang('Tarifaextra.comment') ?>
            </label>
            <textarea
                id="comment"
                name="comment"
                rows="5"
                cols="10"
                placeholder="<?= lang('Tarifaextra.comment_placeholder') ?>"
                class="form-control"><?= old('comment', $tarifaextraEntity->comment) ?></textarea>
        </div><!--//.mb-3 -->
        <div class="mb-3">
            <div class="form-check form-check-inline">
                <input type="checkbox"
                    id="mostrar_en_presupuesto"
                    name="mostrar_en_presupuesto"
                    value="1"
                    class="form-check-input"<?= $tarifaextraEntity->mostrar_en_presupuesto == true ? 'checked' : ''; ?>
                >
                <label for="mostrar_en_presupuesto" class="form-check-label">
                    <?= lang('Tarifaextra.mostrar_en_presupuesto') ?>
                </label>
            </div>
        </div>

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

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