Include shot status in CSS class

This commit is contained in:
2016-10-04 14:39:04 +02:00
parent f4ae005252
commit 45bff7a77e

View File

@@ -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