mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-26 12:30:48 +00:00
12 lines
350 B
Text
12 lines
350 B
Text
<div class="article">
|
|
<div class="box">
|
|
<% if @version.text_coding == Article::CODING_HTML %>
|
|
<%= raw @version.text %>
|
|
<% else %>
|
|
<%= raw @version.text_parsed %>
|
|
<% end %>
|
|
</div>
|
|
<% if @article.can_update? cuser %>
|
|
<%= link_to "Revert", article_version_url(@article, @version), :method => :put %>
|
|
<% end %>
|
|
</div>
|