修改系统消息为kindeditor
This commit is contained in:
parent
13397363db
commit
1feb7022c7
|
@ -1,13 +1,18 @@
|
|||
<%= javascript_include_tag "/assets/kindeditor/kindeditor",'/assets/kindeditor/pasteimg' %>
|
||||
<h3 style="float: left">
|
||||
<%=l(:label_system_message)%>
|
||||
</h3><br/>
|
||||
<div style="padding-top: 20px; padding-left: 5px;">
|
||||
<%= form_for(@admin_messages) do |f| %>
|
||||
<div class="field">
|
||||
<%= f.text_area :content %>
|
||||
<%= f.kindeditor :content, :edit_id => 'system_message',
|
||||
:width => '87%',
|
||||
:resizeType => '0',
|
||||
:no_label => true
|
||||
%>
|
||||
</div>
|
||||
<div class="actions">
|
||||
<%= f.submit l(:label_submit),:class => "small" %>
|
||||
<%= f.submit l(:label_submit),:class => "small", :onclick => "system_message.sync;" %>
|
||||
</div>
|
||||
<% end %>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue