Merge branch 'develop' into szzh
This commit is contained in:
commit
4b9310c080
|
@ -329,7 +329,7 @@ module ApplicationHelper
|
|||
imagesize = attachment.thumbnail(:size => "50*50")
|
||||
imagepath = named_attachment_path(attachment, attachment.filename)
|
||||
if imagesize
|
||||
link_to image_tag(thumbnail_path(attachment,"50")),
|
||||
link_to image_tag(thumbnail_path(attachment), height: '73', width: '100'),
|
||||
imagepath,
|
||||
:title => attachment.filename
|
||||
else
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<%= labelled_form_for(@memo, :url => forum_memos_path) do |f| %>
|
||||
|
||||
<div class="actions" style="max-width:680px">
|
||||
<div class="actions" style="max-width:680px;">
|
||||
<%= hidden_field_tag :asset_id,params[:asset_id],:required => false,:style => 'display:none' %>
|
||||
<p><%= f.text_field :subject, :required => true, :size => 95 %></p>
|
||||
<p style="max-width:680px"><%= f.kindeditor :content, :required => true %></p>
|
||||
<p style="max-width:680px"><%= f.kindeditor :content,:width=>'99%', :required => true %></p>
|
||||
<!--<script type="text/javascript">var ckeditor=CKEDITOR.replace('editor01');</script> -->
|
||||
<br/>
|
||||
|
||||
|
|
Loading…
Reference in New Issue