{{#each photos}}
<div class="card" style="padding:0;width:100%;">
    <div class="card-content" style="padding:0;">
        <a class="open-external"><img id="{{id}}" src="{{content}}" style="background-repeat:no-repeat;background-size:contain;max-width:100%;min-width:100%;" /></a>
    </div>
    <div class="card-action" style="padding:0;border:0;padding-bottom:5px;">
        <a class="waves-effect btn-flat rate" data-id="{{id}}"><i class="material-icons rate-icon" id="rate{{id}}" {{#if isRated}} style="color:#bdcd00;" {{else}} style="color:#cfd1d2;" {{/if}}>thumb_up</i></a>
        <a class="waves-effect btn-flat warn" data-id="{{id}}"><i class="material-icons warn-icon" id="warn{{id}}" {{#if isWarned}} style="color:#e30066;" {{else}} style="color:#cfd1d2;" {{/if}}>report</i></a>
    </div>
</div>
{{/each}}
<a data-target="camera-modal" id="camera" class="btn-floating waves-effect modal-trigger btn-large" style="float: right;position:fixed;right:20px;bottom:20px;z-index:101;">
    <i class="material-icons">photo_camera</i>
</a>

