<%= f.label %> | <% end -%>Actions |
---|---|
<%= render_field association, f %> | <% end -%><%= link_to t(:show), resource_path(association), :target => '_blank' if (resource_path(association) rescue nil) %> <%= link_to_function t(:choose), "$('associated_#{field}').replace(\"#{escape_javascript render(:partial => "terbium/association/one", :object => association, :locals => {:field => field})}\"); Event.addBehavior.reload(); this.up('.terbium_popup', 0).popup.hide()" %> |