Skip to content

Commit

Permalink
feat(endpoint-share): move url field above others
Browse files Browse the repository at this point in the history
  • Loading branch information
paulrobertlloyd committed Sep 20, 2020
1 parent 31a875d commit 88f6d32
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions packages/endpoint-share/views/share.njk
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,19 @@
locale: application.locale
}) }}

{{ input({
id: "bookmark-of",
name: "bookmark-of",
value: errors["bookmark-of"].value or bookmarkOf or url,
label: {
text: __("share.bookmarkOf")
},
errorMessage: {
text: errors["bookmark-of"].msg,
label: __("error")
} if errors["bookmark-of"]
}) }}

{{ input({
id: "name",
name: "name",
Expand All @@ -45,19 +58,6 @@
}
}) | indent(8) }}

{{ input({
id: "bookmark-of",
name: "bookmark-of",
value: errors["bookmark-of"].value or bookmarkOf or url,
label: {
text: __("share.bookmarkOf")
},
errorMessage: {
text: errors["bookmark-of"].msg,
label: __("error")
} if errors["bookmark-of"]
}) }}

{{ input({
name: "access_token",
value: session.token,
Expand Down

0 comments on commit 88f6d32

Please sign in to comment.