<?php
/**
 * @var $obj GalleryWidget
 * @var $title string
 * @var $lot_auctions string
 * @var $lot_per_page int
 */

use auctionforge\inc\widgets\GalleryWidget;

const LABEL_TITLE = "title";
const LABEL_PER_PAGE = "lot_per_page";
?>
<p>
    <label for="<?php echo $obj->get_field_id( LABEL_TITLE ); ?>">Title</label>
    <input class="widefat" id="<?php echo $obj->get_field_id( LABEL_TITLE ); ?>" name="<?php echo $obj->get_field_name( LABEL_TITLE ); ?>" type="text" value="<?php echo esc_attr( $title ); ?>" />
</p>
<p>
    <label for="<?php echo $obj->get_field_id( LABEL_PER_PAGE ); ?>">Count:</label>
    <input id="<?php echo $obj->get_field_id( LABEL_PER_PAGE ); ?>" name="<?php echo $obj->get_field_name( LABEL_PER_PAGE ); ?>" type="text" value="<?php echo ($lot_per_page) ? esc_attr( $lot_per_page ) : '10'; ?>" size="3" />
</p>