update
This commit is contained in:
@@ -13,7 +13,7 @@ class Carei_Search_Widget extends \Elementor\Widget_Base {
|
||||
}
|
||||
|
||||
public function get_title() {
|
||||
return 'Carei Search Form';
|
||||
return esc_html__( 'Carei Search Form', 'carei-reservation' );
|
||||
}
|
||||
|
||||
public function get_icon() {
|
||||
@@ -37,14 +37,14 @@ class Carei_Search_Widget extends \Elementor\Widget_Base {
|
||||
protected function render() {
|
||||
?>
|
||||
<div class="carei-search-form">
|
||||
<h2 class="carei-search-form__title">Wypełnij formularz rezerwacji<span>.</span></h2>
|
||||
<h2 class="carei-search-form__title"><?php esc_html_e( 'Wypełnij formularz rezerwacji', 'carei-reservation' ); ?><span>.</span></h2>
|
||||
|
||||
<div class="carei-search-form__fields">
|
||||
<!-- Segment -->
|
||||
<div class="carei-search-form__field carei-search-form__field--full">
|
||||
<div class="carei-search-form__select-wrap">
|
||||
<select id="carei-search-segment">
|
||||
<option value="" disabled selected>Wybierz segment</option>
|
||||
<option value="" disabled selected><?php esc_html_e( 'Wybierz segment', 'carei-reservation' ); ?></option>
|
||||
</select>
|
||||
<svg class="carei-search-form__select-arrow" width="16" height="16" viewBox="0 0 16 16"><path d="M4 6l4 4 4-4" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round"/></svg>
|
||||
</div>
|
||||
@@ -55,14 +55,14 @@ class Carei_Search_Widget extends \Elementor\Widget_Base {
|
||||
<div class="carei-search-form__field">
|
||||
<div class="carei-search-form__date-wrap">
|
||||
<svg class="carei-search-form__date-icon" width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="2.5" y="3" width="11" height="10" rx="0.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/><path d="M11 1.5v2M5 1.5v2M2.5 5.5h11" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/></svg>
|
||||
<label class="carei-search-form__date-label" for="carei-search-date-from">Od kiedy?</label>
|
||||
<label class="carei-search-form__date-label" for="carei-search-date-from"><?php esc_html_e( 'Od kiedy?', 'carei-reservation' ); ?></label>
|
||||
<input type="datetime-local" id="carei-search-date-from" class="carei-search-form__input carei-search-form__input--date">
|
||||
</div>
|
||||
</div>
|
||||
<div class="carei-search-form__field">
|
||||
<div class="carei-search-form__date-wrap">
|
||||
<svg class="carei-search-form__date-icon" width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="2.5" y="3" width="11" height="10" rx="0.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/><path d="M11 1.5v2M5 1.5v2M2.5 5.5h11" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/></svg>
|
||||
<label class="carei-search-form__date-label" for="carei-search-date-to">Do kiedy?</label>
|
||||
<label class="carei-search-form__date-label" for="carei-search-date-to"><?php esc_html_e( 'Do kiedy?', 'carei-reservation' ); ?></label>
|
||||
<input type="datetime-local" id="carei-search-date-to" class="carei-search-form__input carei-search-form__input--date">
|
||||
</div>
|
||||
</div>
|
||||
@@ -73,7 +73,7 @@ class Carei_Search_Widget extends \Elementor\Widget_Base {
|
||||
<div class="carei-search-form__select-wrap carei-search-form__select-wrap--icon">
|
||||
<svg class="carei-search-form__pin-icon" width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M8 1C5.24 1 3 3.24 3 6c0 3.75 5 9 5 9s5-5.25 5-9c0-2.76-2.24-5-5-5zm0 7a2 2 0 110-4 2 2 0 010 4z" fill="currentColor"/></svg>
|
||||
<select id="carei-search-pickup">
|
||||
<option value="" disabled selected>Miejsce odbioru</option>
|
||||
<option value="" disabled selected><?php esc_html_e( 'Miejsce odbioru', 'carei-reservation' ); ?></option>
|
||||
</select>
|
||||
<svg class="carei-search-form__select-arrow" width="16" height="16" viewBox="0 0 16 16"><path d="M4 6l4 4 4-4" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round"/></svg>
|
||||
</div>
|
||||
@@ -86,7 +86,7 @@ class Carei_Search_Widget extends \Elementor\Widget_Base {
|
||||
<span class="carei-search-form__checkbox-box">
|
||||
<svg width="14" height="14" viewBox="0 0 14 14" fill="none"><path d="M2 7l3.5 3.5L12 4" stroke="#fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
|
||||
</span>
|
||||
<span class="carei-search-form__checkbox-text">Zwrot w tej samej lokalizacji</span>
|
||||
<span class="carei-search-form__checkbox-text"><?php esc_html_e( 'Zwrot w tej samej lokalizacji', 'carei-reservation' ); ?></span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
@@ -94,7 +94,7 @@ class Carei_Search_Widget extends \Elementor\Widget_Base {
|
||||
<!-- Przycisk -->
|
||||
<button type="button" class="carei-search-form__submit" id="carei-search-submit">
|
||||
<svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="M2.01 21L23 12 2.01 3 2 10l15 2-15 2z"/></svg>
|
||||
Złóż zapytanie o rezerwację
|
||||
<?php esc_html_e( 'Złóż zapytanie o rezerwację', 'carei-reservation' ); ?>
|
||||
</button>
|
||||
</div>
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user