-
```
- if task.asset_id?
== #{t :related} #{link_to(task.asset.name, polymorphic_url(task.asset))}
```
```
ActionView::Template::Error: undefined method `name' for nil:NilClass
/u…
-
```
I'm not seeing the source code indent properly.
I initialize pHAMLp like this:
$haml = new HamlParser(array('format' => 'html5', 'ugly' => FALSE, 'style' =>
'nested'));
I call the HAML template…
-
[Haml 6](https://github.com/haml/haml/blob/main/CHANGELOG.md#600) has replaced its implementation with Hamlit.
While attempting to upgrade an app that uses cells-rails to haml 6, I'm seeing some br…
-
meter este código en el archivo application.rb
config.generators do |g|
g.template_engine :haml
end
para que a la hora de crear las vistas tengan las extensión html.haml
-
Hello,
Grav is awesome, I have created a plugin to write template files in HAML with Twig integration. It allows to have concise, clear and short templates. It integrates greatly with Grav and Twig…
-
I try to render following template (`app/assets/javascripts/templates/questions/form.mustache.haml`):
``` haml
= form_for Question.new do |form|
%div
= form.label :body
= form.text_area :bo…
-
Seems to be mainly be happening with index and a few other edge cases.
-
When trying to use global variables to exchange definitions through the _layout.html.haml and rendered partials an error is generated.
### _layout.html.haml
``` haml
- $cdn_url = "//cdnurl.com"
```
#…
-
After Upgrade to latest Github version (974b8c02f4), BibApp throws an error while visiting people pages.
``` ruby
ActionView::Template::Error (undefined method `shared_works_url' for #):
9: …
-
Hello!
@tenderlove and I recently implemented the ability for error highlight to highlight the errors in templates. (see https://github.com/ruby/error_highlight/pull/26, https://github.com/ruby/rub…