From 033d07a519bac03fdfd28ca15e09cc287e80fd14 Mon Sep 17 00:00:00 2001 From: neodarz Date: Tue, 24 Jan 2017 17:09:18 +0100 Subject: Initial commit with non-functional pieces of code about file upload --- web/templates/audio_file/index.html.eex | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 web/templates/audio_file/index.html.eex (limited to 'web/templates/audio_file/index.html.eex') diff --git a/web/templates/audio_file/index.html.eex b/web/templates/audio_file/index.html.eex new file mode 100644 index 0000000..445178d --- /dev/null +++ b/web/templates/audio_file/index.html.eex @@ -0,0 +1,30 @@ +

Listing audio file

+ + + + + + + + + + + + +<%= for audio_file <- @audio_file do %> + + + + + + + +<% end %> + +
Audio pathTranscription file pathAudio duration
<%= audio_file.audio_path %><%= audio_file.transcription_file_path %><%= audio_file.audio_duration %> + <%= link "Show", to: audio_file_path(@conn, :show, audio_file), class: "btn btn-default btn-xs" %> + <%= link "Edit", to: audio_file_path(@conn, :edit, audio_file), class: "btn btn-default btn-xs" %> + <%= link "Delete", to: audio_file_path(@conn, :delete, audio_file), method: :delete, data: [confirm: "Are you sure?"], class: "btn btn-danger btn-xs" %> +
+ +<%= link "New audio file", to: audio_file_path(@conn, :new) %> -- cgit v1.2.1