Skip to content

Feature Request: use ERB instead of HAML #3173

@olleolleolle

Description

@olleolleolle

TL;DR: This Issue is about using the preinstalled ERB instead of HAML for templating.

@mroderick and I are Rails Admin users. We'd volunteer to try to make this happen, provided this Issue is accepted.

Background

The landscape

  • Rails Admin was created in a cultural moment when HAML was everywhere
  • Time passed, HAML lost its dominance
  • People have asked "Can we lose HAML?" before, and then was not the time
  • Rails Admin 2.0 could have fewer opinions. Perhaps now is the time.

Reasons to allow people not to use HAML

  • Users and maintainers get to have fewer gem dependencies
  • New users won't have to learn HAML, everyone has to learn ERB

Solution proposal

  • before 2.0, change all templates that come with Rails Admin to ERB
  • have a tool-assisted workflow, to make this feasible
  • try to keep people's apps working, with their existing template overrides

Elsewhere

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions