Torch v2.0.0-rc.3 API Reference

Modules

Documentation for Torch

Application config for torch

Provides input generators for Torch's filter sidebar

Contains functions for dealing with flash messages

A module providing Internationalization with a gettext-based API. By using Gettext, your module gains a set of macros for translations, for example:

import ExchangeWeb.Gettext
# Simple translation
gettext("Here is the string to translate")
# Plural translation
ngettext("Here is the string to translate",
         "Here are the strings to translate",
         3)
# Domain-based translation
dgettext("errors", "Here is the error message to translate")

See the Gettext Docs for detailed usage

Provides helper functions for Torch-generated controllers

Phoenix.View to render pagination controls for Torch-generated index templates

Helpers for rendering Torch-generated tables

Mix Tasks

Light wrapper module around mix phx.gen.html which generates slightly modified HTML

Installs torch layout to your _web/templates directory

Uninstalls torch layout & templates