small fix in form
This commit is contained in:
parent
d2579437b9
commit
1ed9e43bb6
|
@ -58,7 +58,7 @@
|
|||
<input type="hidden" name="video_dirname" id="video_file_temp_dir" />
|
||||
<input type="hidden" name="video_filename" id="video_file_temp_name" />
|
||||
<a href="#videoUploader" role="button" class="btn btn-info" data-toggle="modal">Upload Video</a>
|
||||
<label id="video_file_name"><%= File.basename(@vlog.video.file.path) %></label>
|
||||
<label id="video_file_name"><%= File.basename(@vlog.video.file.path) if !@vlog.new_record? %></label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group video <%= @vlog.type == "upload" ? "" : "hide" %>" for="upload">
|
||||
|
|
Loading…
Reference in New Issue