上线缺陷修复
This commit is contained in:
parent
1a1acaff27
commit
92b54b3bb6
|
@ -1,6 +1,6 @@
|
|||
<% @statistics.each do |statistic| %>
|
||||
<div class="data_list_item cl pr">
|
||||
<img src="<%= url_to_avatar(statistic.creator) %>" width="50" class="fl">
|
||||
<%= image_tag(url_to_avatar(statistic.creator), :width => "50", :height => "50") %>
|
||||
<% if User.current.id == statistic.user_id || User.current.admin? %>
|
||||
<div class="homepagePostSetting" style="top: 10px;right: 12px">
|
||||
<ul>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<div class="banner-big f18 fontGrey3 mb15 fb mt15">
|
||||
<span>新建</span>
|
||||
<span><%= params[:action] == "new" ? "新建" : "编辑" %></span>
|
||||
</div>
|
||||
|
||||
<%= render 'form' %>
|
||||
|
|
Loading…
Reference in New Issue