Sha256: fb0c34a78b93aeadf0a3f93d0691ec4cd34f9ebb38bcc72a223621292636b004

Contents?: true

Size: 1.7 KB

Versions: 17

Compression:

Stored size: 1.7 KB

Contents

- form_for [:admin, @layout], :html => {'data-onsubmit_status' => onsubmit_status(@layout)} do |f|
  = f.hidden_field :lock_version
  = render_region :form_top, :locals => {:f => f}
  .form_area
    - render_region :form, :locals => {:f => f} do |form|
      - form.edit_title do
        %p.title
          = f.label :name, t('name')
          = f.text_field :name, :maxlength => 100, :class => "textbox"
      - form.edit_extended_metadata do
        .drawer
          .drawer_contents#attributes
            %table.fieldset
              %tr
                %th.label= f.label :content_type, t('content_type')
                %td.field= f.text_field :content_type, :maxlength => 40, :class => "textbox"
              = render_region :extended_metadata, :locals => {:f => f}
          .drawer_handle
            %a.toggle{:href=>'#attributes', :rel=>"toggle[attributes]", :class=>"#{(meta_errors? ? 'less' : 'more')}"}= meta_label
      - form.edit_content do
        %p.content
          = f.label :layout_content, "Body"
          ~ f.text_area :content, :size => "40x20", :style => "width: 100%", :class => "textarea large"
  = javascript_tag "$('layout_name').activate()"
  - render_region :form_bottom, :locals => {:f => f} do |form_bottom|
    - form_bottom.reference_links do
      %p
        %span.reference_links
          Reference:
          %span{:id => "tag_reference_link"}
            = link_to_function t('available_tags'), "loadTagReference('Page');"
    - form_bottom.edit_buttons do
      .buttons
        = save_model_button @layout
        = save_model_and_continue_editing_button @layout
        = t('or') 
        = link_to t('cancel'), admin_layouts_url
    - form_bottom.edit_timestamp do
      = updated_stamp @layout

Version data entries

17 entries across 17 versions & 3 rubygems

Version Path
trusty-cms-1.0.0 app/views/admin/layouts/_form.html.haml
radiant-1.1.4 app/views/admin/layouts/_form.html.haml
radiant-1.1.3 app/views/admin/layouts/_form.html.haml
radiant-1.1.2 app/views/admin/layouts/_form.html.haml
radiant-1.1.1 app/views/admin/layouts/_form.html.haml
radiant-1.1.0 app/views/admin/layouts/_form.html.haml
radiant-1.1.0.rc1 app/views/admin/layouts/_form.html.haml
radiant-1.1.0.beta app/views/admin/layouts/_form.html.haml
radiant-1.0.1 app/views/admin/layouts/_form.html.haml
radiant-1.1.0.alpha app/views/admin/layouts/_form.html.haml
radiant-1.0.0 app/views/admin/layouts/_form.html.haml
radiant-1.0.0.rc5 app/views/admin/layouts/_form.html.haml
radiant-1.0.0.rc4 app/views/admin/layouts/_form.html.haml
radiant-1.0.0.rc3 app/views/admin/layouts/_form.html.haml
kajam-1.0.3.rc2 app/views/admin/layouts/_form.html.haml
radiant-1.0.0.rc2 app/views/admin/layouts/_form.html.haml
radiant-1.0.0.rc1 app/views/admin/layouts/_form.html.haml