{intl d='beds24.bo.default' l="Configuration Beds 24"}
{form name="beds24.form.configuration"}
{include file = "includes/inner-form-toolbar.html" hide_submit_buttons = false page_url = {url path="/admin/module/Beds24"} close_url = {url path="/admin/modules"} } {form_hidden_fields} {if $form_error}
{$form_error_message}
{/if}
{render_form_field field="api_key" value=$api_key}
{intl d='beds24.bo.default' l='Properties API Access keys'}

{intl d='beds24.bo.default' l='Please enter here the API access key for each of your properties. You\'ll find these keys in your Beds24 account SETTINGS >> PROPERTIES >> LINK >> API Access > propKey'}

{if $properties} {foreach $properties as $property}
{render_form_field field="prop_key_`$property.id`" value=$property.key}
{/foreach} {else}
{intl d='beds24.bo.default' l='Enter the Beds24 API Key and validate the form to get property list'}
{/if}
{intl d='beds24.bo.default' l='Notification URL'}
{intl d='beds24.bo.default' l='In your Beds 24 back-office, please go to Settings > Properties > Link and set the "Notify URL" field to the following value : %url' url={url path='/beds24/notify'}}
{intl d='beds24.bo.default' l='Request Cache'}

Requests to Beds24 are cached to minimize traffice and prevent throttling from Beds24 system.

Clear request cache

{/form}