Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use url option instead if href attribute #385

Merged
merged 1 commit into from
Jul 16, 2015
Merged

Use url option instead if href attribute #385

merged 1 commit into from
Jul 16, 2015

Conversation

bigfoot90
Copy link
Contributor

Update to my last commit #383

This PR allows using button_link like that (shorten and more intuitive)

{{ button_link({
            'label': 'Test',
            'url': 'example.com',
}) }}

instead of

{{ button_link({
            'label': 'Test',
            'attr': {
                'href': 'example.com',
            },
}) }}

@florianeckerstorfer Please merge this small update

florianeckerstorfer pushed a commit that referenced this pull request Jul 16, 2015
Use url option instead if href attribute
@florianeckerstorfer florianeckerstorfer merged commit 5708f4f into braincrafted:develop Jul 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants