summaryrefslogtreecommitdiffstats
path: root/app/views/custom_fields/_index.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/custom_fields/_index.html.erb')
-rw-r--r--app/views/custom_fields/_index.html.erb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/custom_fields/_index.html.erb b/app/views/custom_fields/_index.html.erb
index 04d4aa21d..81fe21404 100644
--- a/app/views/custom_fields/_index.html.erb
+++ b/app/views/custom_fields/_index.html.erb
@@ -22,6 +22,7 @@
<% end %>
<td class="buttons">
<%= reorder_handle(custom_field, :url => custom_field_path(custom_field), :param => 'custom_field') %>
+ <%= link_to_function l(:button_copy), "location.href = '#{new_custom_field_path(:copy => custom_field)}&type=' + encodeURIComponent(($('.tabs a.selected').attr('id')||'').split('tab-').pop())", :class => 'icon icon-copy' %>
<%= delete_link custom_field_path(custom_field) %>
</td>
</tr>