Skip to content
This repository has been archived by the owner on Mar 9, 2023. It is now read-only.

Commit

Permalink
Merge pull request #50 from Metatavu/bugfix-still-fixing-image-upload…
Browse files Browse the repository at this point in the history
…-at-proposals

Taking out edit_form_fields from overriding files
  • Loading branch information
Eskilmar committed Feb 2, 2021
2 parents c0bbcbe + 51dfe9d commit 2630b7c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 80 deletions.
78 changes: 0 additions & 78 deletions app/views/decidim/proposals/proposals/_edit_form_fields.html.erb

This file was deleted.

2 changes: 1 addition & 1 deletion app/views/decidim/proposals/proposals/complete.html.erb
Expand Up @@ -7,7 +7,7 @@

<div class="card">
<div class="card__content">
<%= decidim_form_for(@form) do |form| %>
<%= decidim_form_for(@form, url: update_draft_proposal_path(@proposal), method: :patch) do |form| %>
<%= render partial: "edit_form_fields", locals: { form: form } %>

<div class="actions">
Expand Down
2 changes: 1 addition & 1 deletion app/views/decidim/proposals/proposals/edit_draft.html.erb
Expand Up @@ -7,7 +7,7 @@

<div class="card">
<div class="card__content">
<%= decidim_form_for(@form) do |form| %>
<%= decidim_form_for(@form, url: update_draft_proposal_path(@proposal), method: :patch) do |form| %>
<%= render partial: "edit_form_fields", locals: { form: form } %>

<div class="row column flex-center">
Expand Down

0 comments on commit 2630b7c

Please sign in to comment.