From e748d11bfd2232b77aeb5dae0d1e76ebb2988afb Mon Sep 17 00:00:00 2001 From: neodarz Date: Thu, 9 Feb 2017 14:07:40 +0100 Subject: Update the column name transcrib_file to audio_name --- web/templates/audio_file/form.html.eex | 6 +++--- web/templates/audio_file/index.html.eex | 2 +- web/templates/audio_file/show.html.eex | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'web/templates/audio_file') diff --git a/web/templates/audio_file/form.html.eex b/web/templates/audio_file/form.html.eex index 2667f23..32d6b5c 100644 --- a/web/templates/audio_file/form.html.eex +++ b/web/templates/audio_file/form.html.eex @@ -12,9 +12,9 @@
- <%= label f, :transcription_file_path, class: "control-label" %> - <%= text_input f, :transcription_file_path, class: "form-control" %> - <%= error_tag f, :transcription_file_path %> + <%= label f, :audio_name, class: "control-label" %> + <%= text_input f, :audio_name, class: "form-control" %> + <%= error_tag f, :audio_name %>
diff --git a/web/templates/audio_file/index.html.eex b/web/templates/audio_file/index.html.eex index 445178d..59b73a9 100644 --- a/web/templates/audio_file/index.html.eex +++ b/web/templates/audio_file/index.html.eex @@ -14,7 +14,7 @@ <%= for audio_file <- @audio_file do %> <%= audio_file.audio_path %> - <%= audio_file.transcription_file_path %> + <%= audio_file.audio_name %> <%= audio_file.audio_duration %> diff --git a/web/templates/audio_file/show.html.eex b/web/templates/audio_file/show.html.eex index 2cc05d4..ea841f0 100644 --- a/web/templates/audio_file/show.html.eex +++ b/web/templates/audio_file/show.html.eex @@ -9,7 +9,7 @@
  • Transcription file path: - <%= @audio_file.transcription_file_path %> + <%= @audio_file.audio_name %>
  • -- cgit v1.2.1