Sha256: f7472086a8428ff2ee6670b2ea79bba6c3a79b64123b7ec1055a423f40e04f9e
Contents?: true
Size: 654 Bytes
Versions: 39
Compression:
Stored size: 654 Bytes
Contents
<%= form_for(@model, url: @model.new_record? ? images_path : image_path(@model), method: @model.new_record? ? :post : :put, as: :image) do |f| %> <%= render :partial => "auth/shared/object_errors.html.erb", locals: {active_model_object: @model} %> <div class="form_fields"> the parent id and class <!-- here we add the recaptcha if it says so in the configuration --> <%= f.hidden_field :parent_id, :value => @model.parent_id %> <%= f.hidden_field :parent_class, :value => @model.parent_class %> </div> <div class="actions"> <%= f.submit "Upload an image" %> </div> <!-- what else needs to be provided ? --> <% end %>
Version data entries
39 entries across 39 versions & 1 rubygems