Sha256: 271b87954a0083253cb89f80d35e95003cbbbd7ae85ce66f6091d15f1cf86862

Contents?: true

Size: 405 Bytes

Versions: 58

Compression:

Stored size: 405 Bytes

Contents

module Para
  class FiltersGenerator < Para::Generators::NamedBase
    include Para::SearchHelper
    include Para::Admin::BaseHelper
    include Para::Generators::FieldHelpers

    source_root File.expand_path("../templates", __FILE__)

    def generate_form
      template(
        "_filters.html.haml",
        "app/views/admin/#{ plural_namespaced_path }/_filters.html.haml"
      )
    end
  end
end

Version data entries

58 entries across 58 versions & 1 rubygems

Version Path
para-0.8.12 lib/generators/para/filters/filters_generator.rb
para-0.8.11 lib/generators/para/filters/filters_generator.rb
para-0.8.10 lib/generators/para/filters/filters_generator.rb
para-0.8.9 lib/generators/para/filters/filters_generator.rb
para-0.8.8 lib/generators/para/filters/filters_generator.rb
para-0.8.7 lib/generators/para/filters/filters_generator.rb
para-0.8.5 lib/generators/para/filters/filters_generator.rb
para-0.8.3.3 lib/generators/para/filters/filters_generator.rb
para-0.8.3.2 lib/generators/para/filters/filters_generator.rb
para-0.8.3.1 lib/generators/para/filters/filters_generator.rb
para-0.8.3 lib/generators/para/filters/filters_generator.rb
para-0.8.2.3 lib/generators/para/filters/filters_generator.rb
para-0.8.2.2 lib/generators/para/filters/filters_generator.rb
para-0.8.2.1 lib/generators/para/filters/filters_generator.rb
para-0.8.2 lib/generators/para/filters/filters_generator.rb
para-0.8.1 lib/generators/para/filters/filters_generator.rb
para-0.8.0 lib/generators/para/filters/filters_generator.rb
para-0.7.4.p1 lib/generators/para/filters/filters_generator.rb
para-0.7.4 lib/generators/para/filters/filters_generator.rb
para-0.7.3.p6 lib/generators/para/filters/filters_generator.rb