|
@@ -9,7 +9,7 @@
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Content')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
- <input id="c-content" data-rule="required" class="form-control" name="row[content]" type="text" value="{$row.content|htmlentities}">
|
|
|
+ <input id="c-content" class="form-control" name="row[content]" type="text" value="{$row.content|htmlentities}">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
@@ -30,10 +30,10 @@
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Audio_file')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<div class="input-group">
|
|
|
- <input id="c-audio_file" data-rule="required" class="form-control" size="50" name="row[audio_file]" type="text" value="{$row.audio_file|htmlentities}">
|
|
|
+ <input id="c-audio_file" class="form-control" size="50" name="row[audio_file]" type="text" value="{$row.audio_file|htmlentities}">
|
|
|
<div class="input-group-addon no-border no-padding">
|
|
|
- <span><button type="button" id="faupload-audio_file" class="btn btn-danger faupload" data-input-id="c-audio_file" data-multiple="false" data-preview-id="p-audio_file"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
|
|
|
- <span><button type="button" id="fachoose-audio_file" class="btn btn-primary fachoose" data-input-id="c-audio_file" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
|
|
|
+ <span><button type="button" id="faupload-audio_file" class="btn btn-danger faupload" data-input-id="c-audio_file" data-mimetype="*" data-multiple="false" data-preview-id="p-audio_file"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
|
|
|
+ <span><button type="button" id="fachoose-audio_file" class="btn btn-primary fachoose" data-input-id="c-audio_file" data-mimetype="*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
|
|
|
</div>
|
|
|
<span class="msg-box n-right" for="c-audio_file"></span>
|
|
|
</div>
|
|
@@ -43,17 +43,17 @@
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Audio_second')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
- <input id="c-audio_second" data-rule="required" class="form-control" name="row[audio_second]" type="number" value="{$row.audio_second|htmlentities}">
|
|
|
+ <input id="c-audio_second" class="form-control" name="row[audio_second]" type="number" value="{$row.audio_second|htmlentities}">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Video_file')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<div class="input-group">
|
|
|
- <input id="c-video_file" data-rule="required" class="form-control" size="50" name="row[video_file]" type="text" value="{$row.video_file|htmlentities}">
|
|
|
+ <input id="c-video_file" class="form-control" size="50" name="row[video_file]" type="text" value="{$row.video_file|htmlentities}">
|
|
|
<div class="input-group-addon no-border no-padding">
|
|
|
- <span><button type="button" id="faupload-video_file" class="btn btn-danger faupload" data-input-id="c-video_file" data-multiple="false" data-preview-id="p-video_file"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
|
|
|
- <span><button type="button" id="fachoose-video_file" class="btn btn-primary fachoose" data-input-id="c-video_file" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
|
|
|
+ <span><button type="button" id="faupload-video_file" class="btn btn-danger faupload" data-input-id="c-video_file" data-mimetype="*" data-multiple="false" data-preview-id="p-video_file"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
|
|
|
+ <span><button type="button" id="fachoose-video_file" class="btn btn-primary fachoose" data-input-id="c-video_file" data-mimetype="*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
|
|
|
</div>
|
|
|
<span class="msg-box n-right" for="c-video_file"></span>
|
|
|
</div>
|