10 lines
389 B
Ruby
10 lines
389 B
Ruby
module TargetsHelper
|
|
def action_links(d)
|
|
link_to(l(:button_reapply), reapply_goal_targets_path(@project, d, @view_params),
|
|
{remote: true, class: "icon icon-reload"}) +
|
|
link_to(l(:button_edit), edit_goal_targets_path(@project, d, @view_params),
|
|
{remote: true, class: "icon icon-edit"}) +
|
|
delete_link(target_path(d), {remote: true, data: {}})
|
|
end
|
|
end
|