Sha256: 55e680f3d98755a496d4e74269feb8f9df6328ac06235aa98374028150ab9193

Contents?: true

Size: 735 Bytes

Versions: 5

Compression:

Stored size: 735 Bytes

Contents

- status_msg = "#{self.request.path_parameters[:action].humanize} is being performed on #{@page.title} page ..."
- form_tag self.request.path_parameters, :method => :post, 'data-onsubmit_status' => status_msg  do
  %p
    %label= "Page: #{@page.title} ( #{@page.path} )"
  %p
    %label= "Parent: #{@page.parent.title} ( #{@page.parent.path} )"
  %hr
  %p
    %label{:for => 'parent_id'} 
      New parent:
      = page_parent_select_tag
  %p
    %label{:for => 'status_id'} 
      New status:
      = select_tag "status_id", options_for_select(Status.find_all.map{ |s| [s.name, s.id] }.unshift(['Use the same status', nil]))

  %p.buttons
    = submit_tag "OK"
    = t('or')
    = link_to_function t('cancel'), "$(this).closePopup();"

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
radiant-copy_move-extension-2.3.4 app/views/admin/pages/_copy_move_form.html.haml
radiant-copy_move-extension-2.3.3 app/views/admin/pages/_copy_move_form.html.haml
radiant-copy_move-extension-2.3.2 app/views/admin/pages/_copy_move_form.html.haml
radiant-copy_move-extension-2.3.1 app/views/admin/pages/_copy_move_form.html.haml
radiant-copy_move-extension-2.3.0 app/views/admin/pages/_copy_move_form.html.haml