    <div class="space"></div>
{include file=$webdoc.template_dir|cat:"message.tpl"}
{assign var="no_display_message" value="1"}
    <form method="post" action="">
{if $record.active==1}
      <input type="submit" name="button_deactivate" value="Deactivate" style="margin-left: 10px;">
{else}
      <input type="submit" name="button_activate" value="Activate" style="margin-left: 10px;">
{/if}
    </form>
{include file=$webdoc.template_dir|cat:"includes/view.tpl"}