8 lines
423 B
Plaintext
8 lines
423 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 => 'middle', :value => object.file.read.force_encoding('UTF-8') %>
|
||
|
</div>
|
||
|
<div class="form-actions form-fixed pagination-right">
|
||
|
<button class="btn btn-primary"><%= t(:save) %></button>
|
||
|
</div>
|
||
|
<% end %>
|