Sha256: 2eb79f680de178444afbffe4f0d512065c9ef30a4b70934751b7023d955b4f54

Contents?: true

Size: 748 Bytes

Versions: 7

Compression:

Stored size: 748 Bytes

Contents

<div class="tools selectTemplate">
  <%= template_select = renderable_templates_select(sectionable_form.object, section_form) %>
</div>

<div class="heading">
  <%= sectionable_form.text_field :heading, :class => "heading" %>
</div>

<% if template_select %>
  <script type="text/javascript" charset="utf-8">
    var s = function(){
      new Skyline.HoverSelect($('section_<%= guid %>').getElement(".selectTemplate").getElement("select"));
    }();
  </script>
<% end %>
  
<% if controller.controller_name == "sections" && controller.action_name == "new" %>
  <script type="text/javascript" charset="utf-8">
    var s = function(){
      $('<%= sectionable_form.dom_id :heading %>').focus();
    }();
  </script>
<% end %>

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
skylinecms-3.3.0 app/views/skyline/sections/_heading_section.html.erb
skylinecms-3.2.0 app/views/skyline/sections/_heading_section.html.erb
skylinecms-3.1.0 app/views/skyline/sections/_heading_section.html.erb
westarete-skylinecms-3.0.8.20100329 app/views/skyline/sections/_heading_section.html.erb
westarete-skylinecms-3.0.8.20100330 app/views/skyline/sections/_heading_section.html.erb
skylinecms-3.0.8 app/views/skyline/sections/_heading_section.html.erb
skylinecms-3.0.7 app/views/skyline/sections/_heading_section.html.erb