Sha256: 3aaa85dd247b81eb425cc451d16344a0fa911a4dbc6f640109a5bd121e1d3c8d

Contents?: true

Size: 695 Bytes

Versions: 1

Compression:

Stored size: 695 Bytes

Contents

<div class="control-group input-horizontal">
  <label><%= ui_section.name %></label>
  <div class="widgets js-nested-widgets" data-ui-section="<%= ui_section.id %>" data-revision="<%= @revision.id %>">
    <ul class="nav-list js-sortable">
      <% ui_section.ui_associations.for_revision(@revision).order(:position).each do |ui_association| %>
        <%= widget_portlet_tag(ui_association) %>
      <% end -%>
    </ul>
    <div class="form-group">
      <%= select_tag :widget, widgets_collection, prompt: 'Select a widget', class: 'form-control select-widget' %>
      <%= link_to "#{icon_tag('plus')} Add".html_safe, '#', class: 'btn btn-primary js-add-widget' %>
    </div>
  </div>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
georgia-0.8.0 app/views/georgia/revisions/fields/_ui_section.html.erb