| 1 | <div id="audio-file-row-<%= audio_file.id %>" class="audio-file-row"> |
| 2 | <% if audio_file.is_valid_row? %> |
| 3 | |
| 4 | <%= render "partial_file_row_top.html", audio_file: audio_file %> |
| 5 | |
| 6 | <% if !audio_file.song.nil? %> |
| 7 | <%= render "partial_file_row_information.html", audio_file: audio_file %> |
| 8 | <% end %> |
| 9 | |
| 10 | <% if audio_file.is_in_progress? %> |
| 11 | <%= render "partial_file_row_progress_bar.html", audio_file: audio_file %> |
| 12 | <% end %> |
| 13 | |
| 14 | <% else %> |
| 15 | <div class="row"> |
| 16 | <div class="col-md-12" style="padding: 20px"> |
| 17 | Something wrong with the file. Please report this. |
| 18 | </div> |
| 19 | </div> |
| 20 | <% end %> |
| 21 | </div> |