mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-26 20:08:51 +01:00
5 lines
No EOL
243 B
Text
5 lines
No EOL
243 B
Text
<%- object_name = unique_object_name_for("update_todo_#{@todo.id}") -%>
|
|
var <%=object_name%> = {
|
|
<%= render :partial => (@saved ? "update_successful" : "update_has_errors"), locals: {object_name: object_name} %>
|
|
}
|
|
<%=object_name%>.animate(); |