journalduhacker/app/views/stories/suggest.html.erb
2016-11-21 11:59:38 +01:00

22 lines
618 B
Plaintext

<div class="box" id="story_box">
<div class="legend">
<%= t :suggeststorychanges %>
</div>
<%= form_for @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>
<div class="box">
<div class="boxline actions">
<%= submit_tag t :suggestchangesbutton %>
&nbsp;<%= t :suggestor %> <a href="<%= story_path(@story.short_id) %>"><%= t :suggestcancel %></a>
</div>
</div>
<% end %>
</div>