Sha256: bc0553893682aec2da8de211ecfc8e6ea9e583dd01ff8d94208a8b89c1ae4404

Contents?: true

Size: 793 Bytes

Versions: 8

Compression:

Stored size: 793 Bytes

Contents

<div class="but-holder">
  <div class="act-but">
    <%= link_to image_tag('sunrise/empty.gif'), export_path(:format => :json), :class => 'but-container sort', :title => 'Sort', :id => 'sort-button', :"data-save_title" => 'Save', :"data-cancel_title" => 'Cancel', :"data-url" => sort_path(:format => :json) %>
    
    <script type="text/javascript">
      $(document).ready(function(){
        $('#sort-button').sort_dialog();
      });
    </script>
    
    <script id="sort-template" type="text/x-jquery-tmpl">
      <div class="sort-item" data-record-id="${id}">
        <div class="sort-inner">
          <div class="numb">${<%= abstract_model.sort_column %>}</div>
          <div>${<%= model.config.object_label_method %>}</div>
        </div>
      </div>
    </script>
  </div>
</div>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
sunrise-cms-0.6.0 app/views/sunrise/manager/buttons/_sort.html.erb
sunrise-cms-0.5.3 app/views/sunrise/manager/buttons/_sort.html.erb
sunrise-cms-0.5.2 app/views/sunrise/manager/buttons/_sort.html.erb
sunrise-cms-0.5.1 app/views/sunrise/manager/buttons/_sort.html.erb
sunrise-cms-0.5.0 app/views/sunrise/manager/buttons/_sort.html.erb
sunrise-cms-0.5.0.rc5 app/views/sunrise/manager/buttons/_sort.html.erb
sunrise-cms-0.5.0.rc4 app/views/sunrise/manager/buttons/_sort.html.erb
sunrise-cms-0.5.0.rc3 app/views/sunrise/manager/buttons/_sort.html.erb