mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-11-15 01:11:23 +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>
|