Sha256: cae6aea7508fb00c639daa231e6177450f6417f12758df7e177aaac3695fd1c0

Contents?: true

Size: 749 Bytes

Versions: 3

Compression:

Stored size: 749 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= t('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', 0, :id => 'page_part_index_field'
      %p.buttons
        = submit_tag t('add_part'), :id => 'add_part_button', :class => "button"
        = t('or')
        = link_to_function t('cancel'), "$(this).closePopup()"
  = render_region :popups

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
radiantcms-couchrest_model-0.1.4 app/views/admin/pages/_popups.html.haml
radiant-0.9.1 app/views/admin/pages/_popups.html.haml
radiant-0.9.0.rc2 app/views/admin/pages/_popups.html.haml