app/views/lentil/images/_flagging_modal.html.erb in lentil-0.9.1 vs app/views/lentil/images/_flagging_modal.html.erb in lentil-1.0.0
- old
+ new
@@ -1,7 +1,7 @@
<!-- Flagging Modal -->
-<div id="myModal-<%= image.id %>" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
+<div id="myModal-image_<%= image.id %>" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-header">
<h3 id="myModalLabel"><%= t 'lentil.flagging_modal.header' %></h3>
</div>
<div class="modal-body">
<p><%= t 'lentil.flagging_modal.header' %></p>
@@ -9,6 +9,6 @@
<div class="modal-footer">
<button class="btn" data-dismiss="modal" aria-hidden="true"><%= t 'lentil.flagging_modal.cancel' %></button>
<button href="<%= tally_flag_path(image.id) %>" method="post" type="submit" class="btn btn-danger flag-confirm" data-image-id="<%= image.id %>">
<%= t 'lentil.flagging_modal.yes_report_title' %></button>
</div>
-</div>
\ No newline at end of file
+</div>