Coherence v0.3.0 Coherence.ViewHelpers
Helper functions for Coherence Views.
Summary
Functions
Create coherence template links
Helper to avoid compile warnings when options are disabled
Functions
Create coherence template links.
Generates links if the appropriate option is installed.
Examples
coherence_links(conn, :new_session)
Generates: Forgot your password? Send an unlock email Need An Account? Resend confirmation email
coherence_links(conn, :new_session, recover: "Password reset", register: false
Generates: Password reset Send an unlock email
coherence_links(conn, :layout) # when logged in
Generates: User's Name Sign Out
coherence_links(conn, :layout) # when not logged in
Generates: Need An Account? Sign In
Helper to avoid compile warnings when options are disabled.