Using patch to edit shots from web-frontend.

This commit is contained in:
2016-10-04 14:16:58 +02:00
parent 459ba6c89f
commit 91abe917cd
4 changed files with 82 additions and 23 deletions

View File

@@ -2,12 +2,9 @@
form#shot_form(onsubmit="return shot_save('{{shot._id}}', '{{ url_for('attract.shots.perproject.save', project_url=project['url'], shot_id=shot._id) }}')")
input(type='hidden',name='_etag',value='{{ shot._etag }}')
.input-transparent-group
input.input-transparent.item-name(
name="name",
type="text",
placeholder='Name',
value="{{ shot.name | hide_none }}")
h2 {{ shot.name | hide_none }}
button.copy-to-clipboard.btn.item-id(
style="margin-left: auto",
name="Copy to Clipboard",
type="button",
data-clipboard-text="{{ shot._id }}",