Commit 685f6952 authored by Tino Goratsch's avatar Tino Goratsch

furhter minor improvements

parent f96a0ad4
...@@ -15,11 +15,11 @@ ...@@ -15,11 +15,11 @@
</div> </div>
<div id="tab-2" class="tab-pane fade"> <div id="tab-2" class="tab-pane fade">
{include file="asset:System/Partials/form_group.input_text.tpl" name="title" value=$form.title required=true maxlength=120 data_attributes=['seo-slug-base' => 'true'] label={lang t="files|title"}} {include file="asset:System/Partials/form_group.input_text.tpl" name="title" value=$form.title required=true maxlength=120 data_attributes=['seo-slug-base' => 'true'] label={lang t="files|title"}}
<div id="file-internal-toggle"> {block FILES_FILE_UPLOAD}
{block FILES_FILE_UPLOAD} <div id="file-internal-toggle">
{include file="asset:System/Partials/form_group.input_file.tpl" name="file_internal" labelRequired=true label={lang t="files|file"}} {include file="asset:System/Partials/form_group.input_file.tpl" name="file_internal" labelRequired=true label={lang t="files|file"}}
{/block} </div>
</div> {/block}
<div id="file-external-toggle"> <div id="file-external-toggle">
{include file="asset:System/Partials/form_group.input_url.tpl" name="file_external" value=$form.file_external labelRequired=true maxlength=120 label={lang t="files|uri"}} {include file="asset:System/Partials/form_group.input_url.tpl" name="file_external" value=$form.file_external labelRequired=true maxlength=120 label={lang t="files|uri"}}
<div class="form-group"> <div class="form-group">
......
...@@ -2,5 +2,7 @@ ...@@ -2,5 +2,7 @@
{block FILES_FILE_UPLOAD} {block FILES_FILE_UPLOAD}
{include file="asset:System/Partials/form_group.static.tpl" value=$current_file label={lang t="files|current_file"}} {include file="asset:System/Partials/form_group.static.tpl" value=$current_file label={lang t="files|current_file"}}
{include file="asset:System/Partials/form_group.input_file.tpl" name="file_internal" labelRequired=true label={lang t="files|new_file"}} <div id="file-internal-toggle">
{include file="asset:System/Partials/form_group.input_file.tpl" name="file_internal" labelRequired=true label={lang t="files|new_file"}}
</div>
{/block} {/block}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment