Sha256: 9a7df7d71f75b95380dc5bddad0d6d46bc337e11ac14c624d142b659ffd87df9

Contents?: true

Size: 289 Bytes

Versions: 5

Compression:

Stored size: 289 Bytes

Contents

<% url = @page.new_record? ? :admin_pages : admin_page_path(@page) %>

<%= simple_form_for @page, url: url do |f| %>
  <%= f.input :title %>
  <%= f.input :slug %>
  <%= f.input :body, as: :ckeditor, input_html: { rows: 10 } %>
  <%= f.button :submit, t('ui.save'), name: nil %>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
lcms-engine-0.1.4 app/views/lcms/engine/admin/pages/_form.html.erb
lcms-engine-0.1.3 app/views/lcms/engine/admin/pages/_form.html.erb
lcms-engine-0.2.0 app/views/lcms/engine/admin/pages/_form.html.erb
lcms-engine-0.1.2 app/views/lcms/engine/admin/pages/_form.html.erb
lcms-engine-0.1.0 app/views/lcms/engine/admin/pages/_form.html.erb