{#if $lq__ds_obj} {#if debug || $ae_loc.debug === 'debug'}
Debug Info
ID: {$lq__ds_obj.id} | Code: {$lq__ds_obj.code} | Type: {$lq__ds_obj.type} | Account: {$lq__ds_obj.account_id || 'Global'}
{/if}
{ e.preventDefault(); handle_submit_form(e); }}>
Content {#if draft_type === 'html'}
{/if}
{#if draft_type === 'html'} {#if html_edit_mode === 'source'} {:else} {/if} {:else if draft_type === 'json' || draft_type === 'sql' || draft_type === 'md'} {:else} {/if}
{#if show_view} {#if $lq__ds_obj.type === 'html' && $lq__ds_obj.html} {@html $lq__ds_obj.html} {:else if $lq__ds_obj.type === 'text' && $lq__ds_obj.text}
{$lq__ds_obj.text}
{:else if $lq__ds_obj.type === 'sql' && $lq__ds_obj.text} {#if debug}
SQL: {$lq__ds_obj.text}
{/if} {/if} {/if} {#if $ae_loc.edit_mode && ($ae_loc.manager_access || (show_edit_btn && $ae_loc.administrator_access))} {/if} {:else if ds_loading_status === 'not found'} {#if $ae_loc.administrator_access || ($ae_loc.trusted_access && $ae_loc.edit_mode)}
Data Store not found: {ds_code}
{/if} {/if} {#if ds_loading_status === 'loading'}
{/if}