LinkStack/blocks/link/form.blade.php

16 lines
713 B
PHP
Raw Normal View History

2023-06-16 20:53:33 +02:00
<label for='title' class='form-label'>{{__('messages.Title')}}</label>
2024-06-21 16:48:00 +02:00
<input type='text' name='title' value='{{$title}}' class='form-control' required />
2023-06-16 20:53:33 +02:00
<label for='title' class='form-label'>{{__('messages.URL')}}</label>
2024-06-21 16:48:00 +02:00
<input type='url' name='link' value='{{$link}}' class='form-control' required />
<div class="custom-control custom-checkbox m-2">
<input type="checkbox" class="custom-control-input" value='1' {{((isset($params->GetSiteIcon) ? boolval($params->GetSiteIcon) : false) ? 'checked': '') }} name='GetSiteIcon' id="GetSiteIcon" @if($button_id == 2)checked @endif>
2023-06-16 20:53:33 +02:00
<label class="custom-control-label" for="GetSiteIcon">{{__('messages.Show website icon on button')}}</label>
</div>