fix tags selection dropdown on suggest page (#1135)

This commit is contained in:
Andrew Shu 2022-12-03 16:18:55 -08:00 committed by GitHub
parent 30295c028a
commit 0ca4dbf146
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 10 deletions

View File

@ -1,16 +1,18 @@
<div class="box" id="story_box">
<%= form_with model: @story, url: story_suggest_path(@story.short_id), method: :post, html: { id: 'edit_story' } do |f| %>
<%= render :partial => "stories/form", :locals => { :story => @story,
:f => f, :suggesting => true } %>
<div id="story_holder">
<%= form_with model: @story, url: story_suggest_path(@story.short_id), method: :post, html: { id: 'edit_story' } do |f| %>
<%= render :partial => "stories/form", :locals => { :story => @story,
:f => f, :suggesting => true } %>
<p></p>
<p></p>
<div class="box">
<div class="boxline actions">
<%= f.submit "Suggest Changes" %>
&nbsp;or <a href="<%= story_path(@story.short_id) %>">cancel</a>
<div class="box">
<div class="boxline actions">
<%= f.submit "Suggest Changes" %>
&nbsp;or <a href="<%= story_path(@story.short_id) %>">cancel</a>
</div>
</div>
</div>
<% end %>
<% end %>
</div>
</div>