15 def actions(*elements):
18 "elements": list(elements)
31 def home(user_id, body):
32 """Returns a view to be published as the turbot home tab for user_id
34 The body argument is a dictionary as provided by the Slack request.
35 The return value is a dictionary suitable to be published to the
36 Slack views_publish API."""
41 section(text("This is (or soon will be) a list of available puzzle hunts)")),
42 actions(button("New hunt"))