| 1 |
<?php |
| 2 |
/** |
| 3 |
* Booking Resource edit-inspector template. |
| 4 |
* |
| 5 |
* @package Booking Calendar |
| 6 |
* @since 11.6.0 |
| 7 |
*/ |
| 8 |
|
| 9 |
if ( ! defined( 'ABSPATH' ) ) { |
| 10 |
exit; |
| 11 |
} |
| 12 |
?> |
| 13 |
<script type="text/html" id="tmpl-wpbc-booking-resource-inspector-edit"> |
| 14 |
<form id="wpbc_catalog_booking_resource_inspector_form" class="wpbc_catalog_booking_resources__editor" data-wpbc-catalog-resource-inspector-form data-mode="edit" data-resource-id="{{ data.schema.resource_id }}"> |
| 15 |
<div class="wpbc_bfb__inspector__head wpbc_ui_catalog_inspector__header"><div class="header_container"><div class="header_title_content"><h3 class="title">{{ data.schema.title }}</h3><span class="wpbc_ui_catalog_inspector__context wpbc_catalog_booking_resources__editor_context">{{ data.schema.context }}</span><div class="desc">{{ data.schema.description }}</div></div></div></div> |
| 16 |
<div class="notice inline" data-wpbc-catalog-resource-inspector-message hidden role="status"><p></p></div> |
| 17 |
<div class="wpbc_catalog_booking_resources__editor_sections"> |
| 18 |
<# _.each( data.schema.sections || [], function ( section ) { print( wp.template( 'wpbc-booking-resource-inspector-group' )( { section: section, i18n: data.i18n, mode: 'edit' } ) ); } ); #> |
| 19 |
</div> |
| 20 |
</form> |
| 21 |
</script> |
| 22 |
|