Sha256: da7e1684911d0ec7e442c28f94362f55cc57ee8fa57e8b8ce251dcf2c53634dc
Contents?: true
Size: 539 Bytes
Versions: 11
Compression:
Stored size: 539 Bytes
Contents
<% content_for :buttons, 'save_buttons' %> <%= simple_form_for(@page_route) do |f| %> <%= render layout: 'form_with_buttons', locals: {f: f} do %> <%= f.association :page, collection: Cms::Page.order(:path), include_blank: false, label_method: lambda { |p| "#{p.path} (#{p.name})" } %> <%= f.input :name %> <%= f.input :pattern %> <%= f.input :code, as: :text, input_html: {style: "height: 200px"} %> <% end %> <% end %>
Version data entries
11 entries across 11 versions & 2 rubygems