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