Sha256: a37733c751e18c77147876534ff42b70ae70fd3a2577559e3dd652a7903951a3
Contents?: true
Size: 760 Bytes
Versions: 31
Compression:
Stored size: 760 Bytes
Contents
<div class="well form-horizontal nested"> <%= f.inputs "Template", :class => "inputs content_block_template_fields" do %> <%= f.input :id, :as => :hidden %> <%= f.input :name %> <%= f.input :content, :label => "Template Content", :input_html => { :id => "template_content-#{f.object.id}" } %> <div id="template_content_editor-<%= f.object.id %>" class="template_content_editor"></div> <% unless f.object.new_record? %> <%= f.input :_destroy, :label => "Delete", :as => :boolean, :wrapper_html => {:class => "destroy inline"} %> <% end %> <% end %> </div> <% content_for :javascript do %> <%- if f.object.id.present? -%> <%= javascript_tag do %> ace_edit(<%= f.object.id %>, 'liquid'); <% end %> <%- end -%> <% end %>
Version data entries
31 entries across 31 versions & 1 rubygems