I am timing a task from the date with the gem rails-timeago. The count appears in the view and I use the following code for this:
<% = Timeago_tag task.data,: nojs => true,: limit => 10.days.ago%>
I want to develop a button that when clicking the time count stops.
Can anyone help?
Thank you!
Aucun commentaire:
Enregistrer un commentaire