From 5fe4174febbf833e0fdbfd5f1500883720c420df Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 14 Dec 2019 20:46:02 +0100 Subject: Add API entry point for journey import --- templates/account.html.ep | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) (limited to 'templates/account.html.ep') diff --git a/templates/account.html.ep b/templates/account.html.ep index b3ec52a..a9f1bb0 100644 --- a/templates/account.html.ep +++ b/templates/account.html.ep @@ -169,7 +169,7 @@ %= end - + --> Travel @@ -192,7 +192,30 @@ %= end - --> + + + Import + + % if ($token->{import}) { + %= $acc->{id} . '-' . $token->{import} + % } + % else { + — + % } + + + %= form_for 'set_token' => begin + %= csrf_field + %= hidden_field 'token' => 'import' + + + %= end + + -- cgit v1.2.3