Merge branch 'master' into 'master'
Update _form_file.html.erb avoid the file to being deleted by js See merge request !2
This commit is contained in:
commit
d3fe410df4
|
@ -1,7 +1,7 @@
|
|||
<% if form_file.new_record? %>
|
||||
<div class="fileupload fileupload-new start-line" data-provides="fileupload">
|
||||
<% 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? %>
|
||||
<%= t(:no_file) %>
|
||||
<% else %>
|
||||
|
|
Loading…
Reference in New Issue