small fix for file link inside edit form for desktop

This commit is contained in:
Harry Bomrah 2013-08-16 14:36:49 +08:00 committed by saurabhbhatia
parent 6577885761
commit bbb765c88d
7 changed files with 7 additions and 0 deletions

View File

@ -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) %>

View File

@ -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) %>

View File

@ -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) %>

View File

@ -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) %>

View File

@ -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) %>

View File

@ -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) %>

View File

@ -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) %>