How to Upload Files Using Post Controller: Revision history

Jump to: navigation, search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

13 June 2024

  • curprev 17:1117:11, 13 June 2024Admin talk contribs 1,006 bytes +111 No edit summary
  • curprev 17:1017:10, 13 June 2024Admin talk contribs 895 bytes −9 No edit summary
  • curprev 17:1017:10, 13 June 2024Admin talk contribs 904 bytes +904 Created page with " Create a LiveView and render a form with the multipart attribute. <source> <.form :let={f} action={~p"/transmit/#{switch}"} multipart> <.input field={f[:switch_item]} name="switch" type="file" /> <input type="submit" /> </.form> </source> Create a controller for the route /transmit/#{switch} '''transmit_controller.ex''' <source> defmodule AppWeb.TransmitCont..."