Sha256: 4818e985b64e1c61cac2bc344835b7c129a3777f63c984318245898656532763

Contents?: true

Size: 799 Bytes

Versions: 12

Compression:

Stored size: 799 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
    - if @page.parent
      %label= "Parent: #{@page.parent.title} ( #{@page.parent.path} )"
    - else
      %label= "Parent: none"
  %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

12 entries across 12 versions & 1 rubygems

Version Path
radiant-copy_move-extension-2.4.11 app/views/admin/pages/_copy_move_form.html.haml
radiant-copy_move-extension-2.4.10 app/views/admin/pages/_copy_move_form.html.haml
radiant-copy_move-extension-2.4.9 app/views/admin/pages/_copy_move_form.html.haml
radiant-copy_move-extension-2.4.8 app/views/admin/pages/_copy_move_form.html.haml
radiant-copy_move-extension-2.4.7 app/views/admin/pages/_copy_move_form.html.haml
radiant-copy_move-extension-2.4.6 app/views/admin/pages/_copy_move_form.html.haml
radiant-copy_move-extension-2.4.5 app/views/admin/pages/_copy_move_form.html.haml
radiant-copy_move-extension-2.4.4 app/views/admin/pages/_copy_move_form.html.haml
radiant-copy_move-extension-2.4.3 app/views/admin/pages/_copy_move_form.html.haml
radiant-copy_move-extension-2.4.2 app/views/admin/pages/_copy_move_form.html.haml
radiant-copy_move-extension-2.4.1 app/views/admin/pages/_copy_move_form.html.haml
radiant-copy_move-extension-2.4.0 app/views/admin/pages/_copy_move_form.html.haml