Sha256: b58ba6f6a4cb5db652a3c7ff1d08c78853134180aafae9275e3c9c30466c392b
Contents?: true
Size: 1.44 KB
Versions: 14
Compression:
Stored size: 1.44 KB
Contents
<div class="filter-line-wrapper"> <div class="filter-line-holder"> <div class="struct-name"><%= abstract_model.label %></div> <div class="vline-block"> <%= form_for search_wrapper, :url => scoped_index_path, :html => { :method => :get, :novalidate => true } do |f| %> <%= render :partial => 'sunrise/shared/parent' %> <%= f.text_field :q %> <%= f.submit t('manage.search'), :class => "button" %> <% end %> </div> </div> </div> <div class="top-line-holder"> <div class="act-buttons-wrapper"> <% if can? :edit, @record, :context => :sunrise %> <div class="but-holder"> <div class="act-but"> <%= link_to image_tag('sunrise/empty.gif'), edit_path(abstract_model.parent_hash.merge(:id => @record.id)), :class => 'but-container edit', :title => 'Edit' %> </div> </div> <% end -%> <% if can? :delete, @record, :context => :sunrise %> <div class="but-holder"> <div class="act-but"> <%= link_to image_tag('sunrise/empty.gif'), delete_path(abstract_model.parent_hash.merge(:id => @record.id)), :class => 'but-container del', :title => 'Delete', :method=>:delete, :data => { :confirm => t('manage.confirm_delete') } %> </div> </div> <% end %> <div class="buttons-holder"> <%= render :partial => apply_scope("controls"), :locals => {:record => @record} %> </div> </div> </div>
Version data entries
14 entries across 14 versions & 1 rubygems