Skip to content

Instantly share code, notes, and snippets.

@Nikki0
Created August 14, 2017 10:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Nikki0/211d75c63594e434bdbea66341163cb1 to your computer and use it in GitHub Desktop.
Save Nikki0/211d75c63594e434bdbea66341163cb1 to your computer and use it in GitHub Desktop.
{if $fileupload == 1}
<p class="form-group">
<label for="fileUpload">{l s='Attach File'}</label>
<input type="hidden" name="MAX_FILE_SIZE" value="{if isset($max_upload_size) && $max_upload_size}{$max_upload_size|intval}{else}2000000{/if}" />
<input type="file" name="fileUpload" id="fileUpload" class="form-control" />
</p>
{/if}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment