We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5df55fb commit 581e3b1Copy full SHA for 581e3b1
vendor/plugins/tutorials/app/views/admin/tutorials/_tutorial.html.erb
@@ -1,7 +1,10 @@
1
<li class='clearfix record <%= cycle("on", "on-hover") %>' id="<%= dom_id(tutorial) -%>">
2
<span class='title'>
3
<%=h tutorial.title %>
4
- <span class="preview"><%=h tutorial.category %></span>
+ <span class="preview">
5
+ <%=h tutorial.category %>
6
+ <%= " <em>(Draft)</em>".html_safe if tutorial.draft? %>
7
+ </span>
8
</span>
9
<span class='actions'>
10
<%= link_to refinery_icon_tag("application_go.png"), tutorial_url(tutorial),
0 commit comments