jasper-helpers
jasper-helpers copied to clipboard
A library of helpers for working with html for apps Crystal
Sometimes I want `content()` with a block without having to specify any options.
This one seemed to stick out. It should match all the other *_field methods. I would be happy to make a PR just need the goahead first. If so would...
Most importantly for me: form and text_area
With this code: ```crystal == form action: "/", method: :post do == csrf_tag == label name: "alpha" do | beta == check_box id="beta" ``` I get the following html output:...
> This module provides methods for sometimes needed when rendering view **Acceptance Criteria:** - [ ] AssetTag Helper - [ ] AtomFeed Helper - [ ] Benchmark Helper - [...
> The html, json, text and xml method helpers simplify setting the response headers. **Tasks:** - [ ] Create a new module in the controllers folder that ports over the...
check_box helper did not need unchecked_value when using multi params it brake request why do not left default behavior? ``` == check_box "gender[]", checked_value: gender.name_to_url, checked: params.fetch_all("gender[]").includes?(gender.name_to_url) ``` and add...
Bootstrap is [currently at 4.0.0 beta 3](http://getbootstrap.com/). This is the last beta and they're [committed to not making anymore breaking changes before release](https://blog.getbootstrap.com/2017/12/28/bootstrap-4-beta-3/). There are several differences between Bootstrap 3...
I have a model with a type hash constant: ```crystal class Model < Granite::ORM::Base extend Query::BuilderMethods VALID_TYPES = { :one => 1, :two => 2 } end ``` Where the...
> One of the main responsibilities of this module is to provide convenience functions for escaping and marking HTML code as safe. Acceptance Criteria: - [ ] escape_javascript(data) - [...