SwafViews

SWAFViews is a template library dedicated to HTML generation. It only depends on EEX. It precompiles templates as functions for fast rendering and protects the rendered code from injection.

Installation

The package can be installed by adding swaf_views to your list of dependencies in mix.exs:

 defp deps do
    [
      # {:swaf_views, path: "../swaf_views"},
      {:swaf_views, "~> 0.1"}
    ]
  end

Documentation

For a complete documentation, please refer to the SWAFViews module documentation.