mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-27 04:51:14 +00:00
13 lines
350 B
Text
13 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>
|