Sha256: 0c5f94cc87dbb08b86f2c2b9d6ed892e8e48f9043080d7ae3dae497fd27514e4
Contents?: true
Size: 809 Bytes
Versions: 31
Compression:
Stored size: 809 Bytes
Contents
<% content_for :title, "Page Content" %> <%= semantic_form_for [@page, @page_content], :url => page_content_path(@page.id, @page_content) do |f| %> <%= f.inputs "Editing #{@page_content.container.titleize} on “#{@page.title}”" do %> <%= f.input :label, :hint => "Internal CMS usage only" %> <%= f.input :container, :as => :hidden %> <%= f.input :content_block_type, :as => :hidden %> <% end %> <div class="well"> <%= f.input :content_block_template, :collection => @page_content.templates, :include_blank => false %> <%= f.semantic_fields_for(:content_block) do |builder| %> <%= render :partial => "#{@page_content.content_block_type.underscore.pluralize}/form_fields", :locals => { :f => builder } %> <% end %> </div> <%= f.actions :submit %> <% end %>
Version data entries
31 entries across 31 versions & 1 rubygems