</div>
<div style="margin: 15px auto; width:300px;">
- <input style="float: left;" type="file" name="attachment_{{exercise.name}}"/>
+ <input style="float: left;" type="file" name="attachment_for_{{exercise.id}}"/>
<div style="clear:both;"></div>
</div>