Sha256: a6c07724ecb1cb6e4d9b511d39e74e17dcc0ff75f5fb11c0364276b83fe0f34d
Contents?: true
Size: 600 Bytes
Versions: 25
Compression:
Stored size: 600 Bytes
Contents
module Roroacms module AdminUiHelper # returns the html for the generic bulk update dropdown # Params: # +options+:: a hash of the values that you want in the dropdown i.e. Hash['move_to_trash' => 'Move To Trash'] def bulk_update_dropdown(options) @options = options render :partial => "roroacms/admin/partials/bulk_update_dropdown" end # returns the html for the generic back button def back_button html = link_to :back, :class => 'btn btn-mini pull-right' html += '<i class="icon-arrow-left"></i>' html.html_safe end end end
Version data entries
25 entries across 25 versions & 1 rubygems