From 45bff7a77eadddecae71f28af7218b35d31ed9ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Tue, 4 Oct 2016 14:39:04 +0200 Subject: [PATCH] Include shot status in CSS class --- src/templates/attract/shots/view_shot_embed.jade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/templates/attract/shots/view_shot_embed.jade b/src/templates/attract/shots/view_shot_embed.jade index 29f2e32..1b0a4ad 100644 --- a/src/templates/attract/shots/view_shot_embed.jade +++ b/src/templates/attract/shots/view_shot_embed.jade @@ -1,4 +1,4 @@ -.attract-form.shot +.attract-form.shot(class="status-{{ shot.properties.status }}") 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