Sha256: f515a85e7c684dfbf9470fda5ef55327e34cda06536d9d4751cde11991e9784d

Contents?: true

Size: 744 Bytes

Versions: 1

Compression:

Stored size: 744 Bytes

Contents

- content_for 'popups' do
  #add_part_popup.popup{:style => "display: none"}
    #add_part_busy.busy{:style => "display: none"}= image('spinner.gif', :alt => "")
    %h3.title Add Part
    - form_for([:admin, PagePart.new], :html => { :onsubmit => "addPart(this); return false" }) do |f|
      %p
        %label{:for => 'part_name_field'} Name
        = f.text_field :name, :id => 'part_name_field', :maxlength => 100, :style => "width: 15em", :class => "textbox big"
        = hidden_field_tag 'index', @page.parts.size, :id => 'page_part_index_field'
      %p.buttons
        = submit_tag "Add Part", :id => 'add_part_button', :class => "button"
        or
        = link_to_function 'Cancel', "$(this).closePopup()"
  = render_region :popups

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
radiant-rc-0.9.0 app/views/admin/pages/_popups.html.haml