Sha256: 9b30fc4ea0e2cdd6a4f15e4dfcb8f9c1b8c5926564e0c2907fb269b41cbfe84b
Contents?: true
Size: 387 Bytes
Versions: 39
Compression:
Stored size: 387 Bytes
Contents
module InquiriesHelper def open_close_link(inquiry) if inquiry.open? link_to("Open", {:action => 'toggle_status', :id => inquiry.id}, {:title => "Click to close this inquiry"}) else link_to("Closed", {:action => 'toggle_status', :id => inquiry.id}, {:title => "Click to open this inquiry back up"}) end end end
Version data entries
39 entries across 39 versions & 2 rubygems