fix the problem that file being deleted by js in orbit4-5
This commit is contained in:
parent
ccea066ecc
commit
6b1fa23265
|
@ -1,7 +1,7 @@
|
||||||
<% if form_file.new_record? %>
|
<% if form_file.new_record? %>
|
||||||
<div class="fileupload fileupload-new start-line" data-provides="fileupload">
|
<div class="fileupload fileupload-new start-line" data-provides="fileupload">
|
||||||
<% else %>
|
<% else %>
|
||||||
<div class="fileupload fileupload-exist start-line" data-provides="fileupload">
|
<div class="fileupload fileupload-exists start-line" data-provides="fileupload">
|
||||||
<% if form_file.file.blank? %>
|
<% if form_file.file.blank? %>
|
||||||
<%= t(:no_file) %>
|
<%= t(:no_file) %>
|
||||||
<% else %>
|
<% else %>
|
||||||
|
|
Loading…
Reference in New Issue