diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-10-22 00:06:48 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-10-22 00:06:48 -0400 |
commit | 4ecc5d37609c3de8d3b013a738f3704f1e70c61a (patch) | |
tree | edcf3b0f38a40d348b72699e2e905b4b8251ae8d /app/views/admin/quotes | |
parent | 98378969dae552c0c190eea922415d35eb22ae1e (diff) | |
download | thoughts-4ecc5d37609c3de8d3b013a738f3704f1e70c61a.tar.gz thoughts-4ecc5d37609c3de8d3b013a738f3704f1e70c61a.tar.bz2 thoughts-4ecc5d37609c3de8d3b013a738f3704f1e70c61a.zip |
Audio quotes!
Diffstat (limited to 'app/views/admin/quotes')
-rw-r--r-- | app/views/admin/quotes/_form.html.haml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/admin/quotes/_form.html.haml b/app/views/admin/quotes/_form.html.haml index 920835b..13948ca 100644 --- a/app/views/admin/quotes/_form.html.haml +++ b/app/views/admin/quotes/_form.html.haml | |||
@@ -24,4 +24,9 @@ | |||
24 | .published-field | 24 | .published-field |
25 | = f.label :state | 25 | = f.label :state |
26 | = f.select :state, Quote.state.options | 26 | = f.select :state, Quote.state.options |
27 | .details-module.image-uploads | ||
28 | %h4 Audio | ||
29 | - if f.object.audio.attached? | ||
30 | = audio_tag(rails_blob_url(f.object.audio), controls: true) | ||
31 | = f.file_field :audio | ||
27 | .details-module= f.submit | 32 | .details-module= f.submit |