fixes #1495
This commit is contained in:
@@ -47,6 +47,26 @@
|
||||
<%= @post.presenter.image_html(self) %>
|
||||
</section>
|
||||
|
||||
<section id="mark-as-translated-section" style="display: none;">
|
||||
<%= form_tag(mark_as_translated_post_path(@post), :class => "simple_form", :method => :put) do |f| %>
|
||||
<fieldset>
|
||||
<label for="post_check_translation">
|
||||
<%= check_box "post", "check_translation", :checked => @post.has_tag?("check_translation") %>
|
||||
Check translation
|
||||
</label>
|
||||
|
||||
<label for="post_partially_translated">
|
||||
<%= check_box "post", "partially_translated", :checked => @post.has_tag?("partially_translated") %>
|
||||
Partially translated
|
||||
</label>
|
||||
</fieldset>
|
||||
|
||||
<div class="input">
|
||||
<%= submit_tag "Mark as translated" %>
|
||||
</div>
|
||||
<% end %>
|
||||
</section>
|
||||
|
||||
<% if @post.artist_commentary && @post.artist_commentary.any_field_present? %>
|
||||
<div id="artist-commentary">
|
||||
<%= render "artist_commentaries/show", :artist_commentary => @post.artist_commentary %>
|
||||
|
||||
Reference in New Issue
Block a user