Sha256: 0a84888f5e4dd4ed773c1ae3fb67ec1895497a3a7866826acc9fc8b61720bc3e

Contents?: true

Size: 676 Bytes

Versions: 5

Compression:

Stored size: 676 Bytes

Contents

<%- unless @template_options.empty? -%>
<div style="background-color: white; width: 100%; border: 1px solid #aaaaaa;">
  <%- @template_options.each do |name, type| -%>
    <%- key = name.gsub(/[^\w\d]/, '_') -%>
    <table width="100%">
      <col width="55%" /><col width="45%" />
      <tr>
        <td><%= name %></td>
        <td>
          <%=
            case type
            when :checkbox
              check_box :page_objects, "obj-option-#{type}-#{key}"
            else
              text_field :page_objects, "obj-option-#{type}-#{key}", :style => 'width: 96%;'
            end
          %>
        </td>
      </tr>
    </table>
  <%- end -%>
</div>
<%- end -%>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
imagine_cms-4.2.4 app/views/management/cms/_template_options.html.erb
imagine_cms-4.2.3 app/views/management/cms/_template_options.html.erb
imagine_cms-4.2.2 app/views/management/cms/_template_options.html.erb
imagine_cms-4.2.1 app/views/management/cms/_template_options.html.erb
imagine_cms-4.2.0 app/views/management/cms/_template_options.html.erb