Skip to content

Commit b711caa

Browse files
committed
Fix boostrap 5 css class
1 parent 948cfeb commit b711caa

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

examples/pages/status-cdr.php

+14-14
Original file line numberDiff line numberDiff line change
@@ -172,47 +172,47 @@ function process(array $fields): ?StatusCdrResult
172172
<div class="row">
173173
<div class="col-md-6">
174174
<strong>Credenciales</strong>
175-
<div class="form-group">
176-
<label for="rucSol">Ruc:</label>
175+
<div class="mb-3">
176+
<label for="rucSol" class="form-label">Ruc:</label>
177177
<input type="text" class="form-control" name="rucSol" id="rucSol" maxlength="11" value="<?=filter_input(INPUT_POST, 'rucSol') ?? ""?>">
178178
</div>
179-
<div class="form-group">
180-
<label for="userSol">Usuario:</label>
179+
<div class="mb-3">
180+
<label for="userSol" class="form-label">Usuario:</label>
181181
<input type="text" class="form-control" name="userSol" id="userSol" value="<?=filter_input(INPUT_POST, 'userSol') ?? ""?>">
182182
</div>
183-
<div class="form-group">
184-
<label for="passSol">Contraseña:</label>
183+
<div class="mb-3">
184+
<label for="passSol" class="form-label">Contraseña:</label>
185185
<input type="password" class="form-control" name="passSol" id="passSol" value="">
186186
</div>
187187
</div>
188188
<div class="col-md-6">
189189
<strong>Datos del Comprobante</strong>
190-
<div class="form-group">
191-
<label for="ruc">Ruc Emisor:</label>
190+
<div class="mb-3">
191+
<label for="ruc" class="form-label">Ruc Emisor:</label>
192192
<input type="text" class="form-control" name="ruc" id="ruc"
193193
maxlength="11"
194194
value="<?= filter_input(INPUT_POST, 'ruc') ?? '20000000001'?>">
195195
</div>
196-
<div class="form-group">
197-
<label for="tipo">Tipo:</label>
196+
<div class="mb-3">
197+
<label for="tipo" class="form-label">Tipo:</label>
198198
<input type="text"
199199
class="form-control"
200200
name="tipo"
201201
id="tipo"
202202
maxlength="2"
203203
value="<?= filter_input(INPUT_POST, 'tipo') ?? '01'?>">
204204
</div>
205-
<div class="form-group">
206-
<label for="serie">Serie:</label>
205+
<div class="mb-3">
206+
<label for="serie" class="form-label">Serie:</label>
207207
<input type="text"
208208
class="form-control"
209209
name="serie"
210210
id="serie"
211211
maxlength="4"
212212
value="<?= filter_input(INPUT_POST, 'serie') ?? 'F001'?>">
213213
</div>
214-
<div class="form-group">
215-
<label for="numero">Correlativo:</label>
214+
<div class="mb-3">
215+
<label for="numero" class="form-label">Correlativo:</label>
216216
<input type="number"
217217
class="form-control"
218218
name="numero"

index.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<template x-for="item in examples.invoices" :key="item.file">
2424
<li @click="loadUrl($event.currentTarget, item.file)" class="list-group-item">
2525
<i class="fa fa-angle-right"></i>&nbsp;<span x-html="item.title"></span>
26-
<span class="badge badge-secondary" x-text="item.tag"></span>
26+
<span class="badge bg-secondary" x-text="item.tag"></span>
2727
<br>
2828
<sub x-html="item.description" x-show="item.description"></sub>
2929
</li>

0 commit comments

Comments
 (0)