Sha256: 7a753914fd2c5d4cd11b67eb3a8c6b275df2d69d06820f3849660a8d6880ff5a

Contents?: true

Size: 404 Bytes

Versions: 11

Compression:

Stored size: 404 Bytes

Contents

module Pageflow
  module ProgressNavigationBar
    class HorizontalWidgetType < ProgressNavigationBar::WidgetType
      def name
        'progress_navigation_bar_horizontal'
      end

      def render(template, entry)
        super(template, entry, horizontal: true)
      end

      def translation_key
        'pageflow.progress_navigation_bar.horizontal.widget_type_name'
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
pageflow-progress-navigation-bar-1.9.0 lib/pageflow/progress_navigation_bar/horizontal_widget_type.rb
pageflow-progress-navigation-bar-1.8.0 lib/pageflow/progress_navigation_bar/horizontal_widget_type.rb
pageflow-progress-navigation-bar-1.7.0 lib/pageflow/progress_navigation_bar/horizontal_widget_type.rb
pageflow-progress-navigation-bar-1.6.0 lib/pageflow/progress_navigation_bar/horizontal_widget_type.rb
pageflow-progress-navigation-bar-1.5.0 lib/pageflow/progress_navigation_bar/horizontal_widget_type.rb
pageflow-progress-navigation-bar-1.4.0 lib/pageflow/progress_navigation_bar/horizontal_widget_type.rb
pageflow-progress-navigation-bar-1.3.0 lib/pageflow/progress_navigation_bar/horizontal_widget_type.rb
pageflow-progress-navigation-bar-1.2.0 lib/pageflow/progress_navigation_bar/horizontal_widget_type.rb
pageflow-progress-navigation-bar-1.1.0 lib/pageflow/progress_navigation_bar/horizontal_widget_type.rb
pageflow-progress-navigation-bar-1.0.0 lib/pageflow/progress_navigation_bar/horizontal_widget_type.rb
pageflow-progress-navigation-bar-0.5.0 lib/pageflow/progress_navigation_bar/horizontal_widget_type.rb