Sha256: bc814114e42e89336a71f1423c3da148f6cbc1647fa811ceacf5dc29d77cd1c5

Contents?: true

Size: 622 Bytes

Versions: 14

Compression:

Stored size: 622 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

14 entries across 14 versions & 1 rubygems

Version Path
roroacms-0.0.6.9 app/helpers/roroacms/admin_ui_helper.rb
roroacms-0.0.6.8 app/helpers/roroacms/admin_ui_helper.rb
roroacms-0.0.6.7 app/helpers/roroacms/admin_ui_helper.rb
roroacms-0.0.6.6 app/helpers/roroacms/admin_ui_helper.rb
roroacms-0.0.6.5 app/helpers/roroacms/admin_ui_helper.rb
roroacms-0.0.6.4 app/helpers/roroacms/admin_ui_helper.rb
roroacms-0.0.6.2 app/helpers/roroacms/admin_ui_helper.rb
roroacms-0.0.6.1 app/helpers/roroacms/admin_ui_helper.rb
roroacms-0.0.6 app/helpers/roroacms/admin_ui_helper.rb
roroacms-0.0.5 app/helpers/roroacms/admin_ui_helper.rb
roroacms-0.0.4 app/helpers/roroacms/admin_ui_helper.rb
roroacms-0.0.3 app/helpers/roroacms/admin_ui_helper.rb
roroacms-0.0.2 app/helpers/roroacms/admin_ui_helper.rb
roroacms-0.0.1 app/helpers/roroacms/admin_ui_helper.rb