Sha256: d272b333bc3ee50c57ec79812a3c1fda7a373c1f829c0b8c43f254b46779f366

Contents?: true

Size: 1.07 KB

Versions: 11

Compression:

Stored size: 1.07 KB

Contents

<div id="<%= "#{content.dom_id}" %>" class="content_editor">
  <% custom_form_for(content, :url => get_content_form_url(content, @parent), :html => html.merge(:id => "#{content.dom_id}_content_form", :class => 'content_form') ) do |f| -%>
    <%= f.text_field :title, {:class => 'title', :tip => t('muck.contents.title_help'), :label => t('muck.contents.title_label') } %>
    <%= f.text_area :body_raw, {:label => t('muck.contents.content_label'), :class => 'mceEditor', :id => 'mce_content', :tip_key => 'mce_content', :tip => t('muck.contents.content_help') } %>
    <%= capture(f, &block) %>
    <%= f.muck_select(:layout, :value, :name, t('muck.contents.choose_layout'), @content_layouts, {:tip => t('muck.contents.choose_layout_help')}) %>
    <div class="button form-row">
      <%= f.submit t('muck.contents.submit_content_button'), :class => "button share-submit", :id => "content_submit_#{content.dom_id}" %>
      <%= f.hidden_field :uri_path unless content.uri_path.blank? %>
      <%= f.hidden_field :custom_scope unless content.custom_scope.blank? %>
    </div>
  <% end %>
</div>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
muck-contents-0.1.11 app/views/contents/_form.html.erb
muck-contents-0.1.10 app/views/contents/_form.html.erb
muck-contents-0.1.9 app/views/contents/_form.html.erb
muck-contents-0.1.8 app/views/contents/_form.html.erb
muck-contents-0.1.7 app/views/contents/_form.html.erb
muck-contents-0.1.6 app/views/contents/_form.html.erb
muck-contents-0.1.5 app/views/contents/_form.html.erb
muck-contents-0.1.4 app/views/contents/_form.html.erb
muck-contents-0.1.1 app/views/contents/_form.html.erb
muck-contents-0.1.2 app/views/contents/_form.html.erb
muck-contents-0.1.3 app/views/contents/_form.html.erb