|
|
|
@ -13,16 +13,19 @@
|
|
|
|
|
</ul>
|
|
|
|
|
</div> -->
|
|
|
|
|
<% end %>
|
|
|
|
|
<div class="actions" style="margin:10px">
|
|
|
|
|
<div style="width: 120%;">
|
|
|
|
|
<div class="field">
|
|
|
|
|
<%= f.text_field :name, :required => true, :style => 'width: 100%;', :class => 'create-share' %>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="field">
|
|
|
|
|
<%= f.text_area :description, :required => true, :rows => 4, :style => 'width: 100%;resize: none;', :class => 'create-share' %>
|
|
|
|
|
<div>
|
|
|
|
|
<script src="/javascripts/ckeditor/ckeditor.js?1404953555" type="text/javascript"></script>
|
|
|
|
|
<%= f.text_area :description, :required => true, :id => 'editor01' %>
|
|
|
|
|
<script type="text/javascript">var ckeditor=CKEDITOR.replace('editor01',{height:300});</script>
|
|
|
|
|
<p style="color: #ff0000">(<%= l(:lable_forums_max_length) %>)</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="actions" style=" padding-top: 10px; float:right">
|
|
|
|
|
<%= f.submit :value=>(l :button_submit) ,:class => 'nyan-clean-gray', :style => 'font-size: 14px; padding: 0px 3px' %>
|
|
|
|
|
<%= link_to l(:button_back), forums_path,:class => 'nyan-clean-gray',:style => 'font-size: 14px; padding: 0px 3px; color: #000' %>
|
|
|
|
|
<%= submit_tag l(:button_submit) %>
|
|
|
|
|
<%= link_to l(:button_back), forums_path ,:style => 'font-size: 14px; padding: 0px 3px;' %>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<% end %>
|
|
|
|
|