8 lines
447 B
Plaintext
8 lines
447 B
Plaintext
|
<%= form_for :file, :url => update_file_admin_design_path(:type => type, :object_id => object.id), :remote => true, :method => :post do |f| %>
|
||
|
<div id='post-body-content'>
|
||
|
<%= f.text_area :content, :class => 'code middle', :value => object.file.read.force_encoding('UTF-8'), :name=>"html_code"%>
|
||
|
</div>
|
||
|
<div class="form-actions form-fixed pagination-right">
|
||
|
<button class="btn btn-primary"><%= t(:save) %></button>
|
||
|
</div>
|
||
|
<% end %>
|