Fix bug.
This commit is contained in:
parent
7e544b3fa4
commit
e9f409a0f9
|
@ -1,5 +1,7 @@
|
|||
class ActivesController < ApplicationController
|
||||
|
||||
FrontendMethods = ["show_privacy", "show_data"]
|
||||
|
||||
helper MemberHelper
|
||||
|
||||
def index
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
<div class="form-group">
|
||||
<label for="title" class="col-sm-2 control-label"><%= t('act.title') %></label>
|
||||
<div class="col-sm-10">
|
||||
<%= @act.title %>
|
||||
<%= @act.title.html_safe %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
@act_time_range = data["act_time_range"]
|
||||
%>
|
||||
|
||||
<h1 class="active-show-title title"><%= @act.title %></h1>
|
||||
<h1 class="active-show-title title"><%= @act.title.html_safe %></h1>
|
||||
<table class="table table-striped active-show-table">
|
||||
<tbody >
|
||||
<tr class="active-show-category">
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
<% if act.expired? %>
|
||||
<span class='label'><%= t(:expired) %></span>
|
||||
<% end %>
|
||||
<a href="<%= page_for_act(act) %>?method=show_data" target="_blank"><%= act.title %></a>
|
||||
<a href="<%= page_for_act(act) %>?method=show_data" target="_blank"><%= act.title.html_safe %></a>
|
||||
<div class="quick-edit">
|
||||
<ul class="nav nav-pills">
|
||||
<% if can_edit_or_delete?(act) %>
|
||||
|
|
Loading…
Reference in New Issue