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