small fix for file link inside edit form for desktop
This commit is contained in:
parent
6577885761
commit
bbb765c88d
|
@ -6,6 +6,7 @@
|
||||||
<label></label>
|
<label></label>
|
||||||
<% else %>
|
<% else %>
|
||||||
<%= link_to(image_tag(check_file_type(form_file.file.url)),
|
<%= link_to(image_tag(check_file_type(form_file.file.url)),
|
||||||
|
form_file.file.url,
|
||||||
:class => "file",
|
:class => "file",
|
||||||
"target" => "_blank",
|
"target" => "_blank",
|
||||||
"title" => form_file.title) %>
|
"title" => form_file.title) %>
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
<label></label>
|
<label></label>
|
||||||
<% else %>
|
<% else %>
|
||||||
<%= link_to(image_tag(check_file_type(form_file.file.url)),
|
<%= link_to(image_tag(check_file_type(form_file.file.url)),
|
||||||
|
form_file.file.url,
|
||||||
:class => "file",
|
:class => "file",
|
||||||
"target" => "_blank",
|
"target" => "_blank",
|
||||||
"title" => form_file.title) %>
|
"title" => form_file.title) %>
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
<label></label>
|
<label></label>
|
||||||
<% else %>
|
<% else %>
|
||||||
<%= link_to(image_tag(check_file_type(form_file.file.url)),
|
<%= link_to(image_tag(check_file_type(form_file.file.url)),
|
||||||
|
form_file.file.url,
|
||||||
:class => "file",
|
:class => "file",
|
||||||
"target" => "_blank",
|
"target" => "_blank",
|
||||||
"title" => form_file.title) %>
|
"title" => form_file.title) %>
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
<label></label>
|
<label></label>
|
||||||
<% else %>
|
<% else %>
|
||||||
<%= link_to(image_tag(check_file_type(form_file.file.url)),
|
<%= link_to(image_tag(check_file_type(form_file.file.url)),
|
||||||
|
form_file.file.url,
|
||||||
:class => "file",
|
:class => "file",
|
||||||
"target" => "_blank",
|
"target" => "_blank",
|
||||||
"title" => form_file.title) %>
|
"title" => form_file.title) %>
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
<label></label>
|
<label></label>
|
||||||
<% else %>
|
<% else %>
|
||||||
<%= link_to(image_tag(check_file_type(form_file.file.url)),
|
<%= link_to(image_tag(check_file_type(form_file.file.url)),
|
||||||
|
form_file.file.url,
|
||||||
:class => "file",
|
:class => "file",
|
||||||
"target" => "_blank",
|
"target" => "_blank",
|
||||||
"title" => form_file.title) %>
|
"title" => form_file.title) %>
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
<label></label>
|
<label></label>
|
||||||
<% else %>
|
<% else %>
|
||||||
<%= link_to(image_tag(check_file_type(form_file.file.url)),
|
<%= link_to(image_tag(check_file_type(form_file.file.url)),
|
||||||
|
form_file.file.url,
|
||||||
:class => "file",
|
:class => "file",
|
||||||
"target" => "_blank",
|
"target" => "_blank",
|
||||||
"title" => form_file.title) %>
|
"title" => form_file.title) %>
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
<label></label>
|
<label></label>
|
||||||
<% else %>
|
<% else %>
|
||||||
<%= link_to(image_tag(check_file_type(form_file.file.url)),
|
<%= link_to(image_tag(check_file_type(form_file.file.url)),
|
||||||
|
form_file.file.url,
|
||||||
:class => "file",
|
:class => "file",
|
||||||
"target" => "_blank",
|
"target" => "_blank",
|
||||||
"title" => form_file.title) %>
|
"title" => form_file.title) %>
|
||||||
|
|
Reference in New Issue