Sha256: 3f704f8fb100c3fdabed1020adcdfe6269855b498b669f4290407ff36bda3ee5

Contents?: true

Size: 1.31 KB

Versions: 15

Compression:

Stored size: 1.31 KB

Contents

-content_for :main do 

  %h1.pagetemplate_icon Page Template Term '#{@page_template_term.name}'

  %p
    %strong Name:
    = @page_template_term.name

  %fieldset(style="width: 700px;")
    %legend
      %b= @page_template_term.form_field_type.name

    %p
      %strong Description
      = @page_template_term.form_field_type.description


    %p
      %strong Data Type:
      = @page_template_term.form_field_type.field_type

    %p
      %strong HTML Options:
      = @page_template_term.form_field_type.html_options

    - if @page_template_term.form_field_type.field_type=='select'
      %p
      %strong Possible Values:
      = @page_template_term.form_field_type.options.split('|').join(', ')

      %p
        %strong Allow Blank?
        = @page_template_term.form_field_type.allow_blank? ? "Yes" : "No"

  %p
    %strong Created By:
    = @page_template_term.created_by.email rescue ""

  %p
    %strong Updated:
    = time_ago_in_words(@page_template_term.updated_at)
    ago


  %p
    = icon_to "Edit", "/admin/page_template_terms/#{@page_template_term.id}/edit"
    = icon_to "Delete", "/admin/page_template_terms/#{@page_template_term.id}", false, :confirm => 'Are you sure?', :method => :delete
    = icon_to "Page Template Terms", "/admin/page_template_terms?page_template_id=#{@page_template_term.page_template_id}"

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
kit_cms-2.3.22 app/views/admin/page_template_terms/show.html.haml
kit_cms-2.3.20 app/views/admin/page_template_terms/show.html.haml
kit_cms-2.3.19 app/views/admin/page_template_terms/show.html.haml
kit_cms-2.3.18 app/views/admin/page_template_terms/show.html.haml
kit_cms-2.3.17 app/views/admin/page_template_terms/show.html.haml
kit_cms-2.3.16 app/views/admin/page_template_terms/show.html.haml
kit_cms-2.3.15 app/views/admin/page_template_terms/show.html.haml
kit_cms-2.3.14 app/views/admin/page_template_terms/show.html.haml
kit_cms-2.3.13 app/views/admin/page_template_terms/show.html.haml
kit_cms-2.3.11 app/views/admin/page_template_terms/show.html.haml
kit_cms-2.3.10 app/views/admin/page_template_terms/show.html.haml
kit_cms-2.3.9 app/views/admin/page_template_terms/show.html.haml
kit_cms-2.3.8 app/views/admin/page_template_terms/show.html.haml
kit_cms-2.3.7 app/views/admin/page_template_terms/show.html.haml
kit_cms-2.3.6 app/views/admin/page_template_terms/show.html.haml