Sha256: d95cf8454b038b125804fdbe3c86cb6934100b15e4ddbe7fde019f6033f72872

Contents?: true

Size: 1.33 KB

Versions: 10

Compression:

Stored size: 1.33 KB

Contents

- form_for [:admin, @tag], :html => {'data-onsubmit_status' => onsubmit_status(@tag)} do |f|
  = render_region :form_top
  - render_region :form do |form_region|
    .form-area
      - form_region.edit_name do
        %p.title
          = f.label :title
          = f.text_field :title, :class => 'textbox', :maxlength => 255

      - form_region.edit_role do
        %p
          = check_box_tag :structural, 1, @tag.structural?, {:class => 'toggle', :rel => 'toggle[pointer]'}
          = f.label :structural, nil, :class => 'checkbox'
        %div#pointer
          %p
            = f.label :page_id
            = f.select :page_id, available_pointer_pages
        
      - form_region.edit_description do
        %p
          = f.check_box :visible, {:class => 'toggle', :rel => 'toggle[description]'}
          = f.label :visible, nil, :class => 'checkbox'
        %div#description
          %p.description
            = f.label :description
            = f.text_area :description, :class => "textarea", :style => "width: 100%"

  - render_region :form_bottom do |form_bottom_region|
    - form_bottom_region.edit_timestamp do
      = updated_stamp @tag  

    - form_bottom_region.edit_buttons do
      %p.buttons
        = save_model_button(@tag)
        = save_model_and_continue_editing_button(@tag)
        or
        = link_to "Cancel", admin_tags_url

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
radiant-taggable-extension-2.0.5 app/views/admin/tags/_form.html.haml
radiant-taggable-extension-2.0.4 app/views/admin/tags/_form.html.haml
radiant-taggable-extension-2.0.3 app/views/admin/tags/_form.html.haml
radiant-taggable-extension-2.0.2 app/views/admin/tags/_form.html.haml
radiant-taggable-extension-2.0.1 app/views/admin/tags/_form.html.haml
radiant-taggable-extension-2.0.0 app/views/admin/tags/_form.html.haml
radiant-taggable-extension-2.0.0.rc2 app/views/admin/tags/_form.html.haml
radiant-taggable-extension-2.0.0.rc1 app/views/admin/tags/_form.html.haml
radiant-taggable-extension-1.2.5 app/views/admin/tags/_form.html.haml
radiant-taggable-extension-1.2.4 app/views/admin/tags/_form.html.haml