diff --git a/app/assets/javascripts/forms.js b/app/assets/javascripts/forms.js index cb0ed6f..8ff14ee 100644 --- a/app/assets/javascripts/forms.js +++ b/app/assets/javascripts/forms.js @@ -6,4 +6,9 @@ $(document).ready(function() { " -o " + $('#output_name').val()) }); -}); + $('#display_generate').click(function(){ + $('#display_command_line').val("ffmpeg" + + " -i " + $('#input_name').val()) + }); + +}); \ No newline at end of file diff --git a/app/views/forms/_display.html.erb b/app/views/forms/_display.html.erb new file mode 100644 index 0000000..f95eef8 --- /dev/null +++ b/app/views/forms/_display.html.erb @@ -0,0 +1,24 @@ +