💄 Ajoute un label pour l'URL publique
This commit is contained in:
parent
b349420bec
commit
e757d3aac5
@ -97,15 +97,23 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<fieldset class="form-group row">
|
||||
<legend class="col-form-label col-sm-6 pt-0">URL publique</legend>
|
||||
|
||||
<div class="col-sm-3">
|
||||
<div class="form-check form-check-inline">
|
||||
<input class="form-check-input" type="radio" name="slug" id="slug-non" value="" checked>
|
||||
<label class="form-check-label" for="slug-non">Non</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
<div class="form-check form-check-inline">
|
||||
<input class="form-check-input" type="radio" name="slug" id="slug-oui" value="{{ \Illuminate\Support\Str::uuid() }}">
|
||||
<label class="form-check-label" for="slug-oui">Oui</label>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<button type="submit" class="btn btn-primary">Submit</button>
|
||||
</div>
|
||||
|
@ -100,17 +100,25 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<fieldset class="form-group row">
|
||||
<legend class="col-form-label col-sm-6 pt-0">URL publique</legend>
|
||||
|
||||
<div class="col-sm-3">
|
||||
<div class="form-check form-check-inline">
|
||||
<input class="form-check-input" type="radio" name="slug" id="slug-non" value="" @if(empty($home->slug)) checked @endif>
|
||||
<input class="form-check-input" type="radio" name="slug" id="slug-non" value="" checked>
|
||||
<label class="form-check-label" for="slug-non">Non</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
<div class="form-check form-check-inline">
|
||||
<input class="form-check-input" type="radio" name="slug" id="slug-oui" @if(!empty($home->slug)) checked @endif value="@if(!empty($home->slug)) {{ $home->slug }} @else {{ \Illuminate\Support\Str::uuid() }} @endif">
|
||||
<input class="form-check-input" type="radio" name="slug" id="slug-oui" value="{{ \Illuminate\Support\Str::uuid() }}">
|
||||
<label class="form-check-label" for="slug-oui">Oui</label>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<button type="submit" class="btn btn-primary">Submit</button>
|
||||
<button type="submit" class="btn btn-primary">Enregistrer</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
Loading…
Reference in New Issue
Block a user