Sha256: f6fc4655d947d33dd16e90f7814182462f137250bc3cf705c9ffc2b5094fb215

Contents?: true

Size: 219 Bytes

Versions: 11

Compression:

Stored size: 219 Bytes

Contents

# frozen_string_literal: true

module Katalyst
  module Navigation
    # Renders an HTML button using `button_to`.
    class Button < Item
      include HasLink

      validates :title, presence: true
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
katalyst-navigation-1.8.4 app/models/katalyst/navigation/button.rb
katalyst-navigation-1.8.3 app/models/katalyst/navigation/button.rb
katalyst-navigation-1.8.2 app/models/katalyst/navigation/button.rb
katalyst-navigation-1.8.1 app/models/katalyst/navigation/button.rb
katalyst-navigation-1.8.0 app/models/katalyst/navigation/button.rb
katalyst-navigation-1.6.0 app/models/katalyst/navigation/button.rb
katalyst-navigation-1.5.2 app/models/katalyst/navigation/button.rb
katalyst-navigation-1.5.1 app/models/katalyst/navigation/button.rb
katalyst-navigation-1.5.0 app/models/katalyst/navigation/button.rb
katalyst-navigation-1.4.1 app/models/katalyst/navigation/button.rb
katalyst-navigation-1.4.0 app/models/katalyst/navigation/button.rb