<!-- this is a partial, a box that pops up over an album -->
<!-- can pick img on device or upload from url -->
<!-- can select multiple images -->
<!-- can X out of this partial to cancel uploading images to this album -->

<%= cloudinary_js_config %>

<%= form_for :image, url: album_images_path do |f| %>
  <%= render "shared/errors" %>

  <%= f.file_field(:image_url) %>

  <%= f.label :caption %>
  <%= f.text_field :caption %>

  <%= f.submit "Upload" %>
<% end %>

<!-- this is a partial, a box that pops up over an album -->
<!-- can pick img on device or upload from url -->
<!-- can select multiple images -->
<!-- can X out of this partial to cancel uploading images to this album -->

<%= cloudinary_js_config %>

<%= form_for :image, url: album_images_path do |f| %>
  <%= render "shared/errors" %>

  <%= f.file_field(:image_url) %>
  -or-
  <label for="image_url">Image Url</label>
  <input type="text" name="image[image_url]" id="image_url">

  <%= f.label :caption %>
  <%= f.text_field :caption %>

  <%= f.submit "Upload" %>
<% end %>

Add ability to upload image from url, missing logic to prevent user from uploading from device and url at same time
Add ability to upload image from url, missing logic to prevent user from uploading from device and url at same time
