dlitvakb/deklarativna — Issue #1: Add support for attributes without using helpers
Author: dlitvakb
Created: 2012-01-02 15:55:59+00:00
State: open

right now... the only way for adding attributes for tags is by using helpers

```ruby
require 'deklarativna'
include Deklarativna

def p_with_class_tag class, &html_block
extra_tags = {"class"=>class}
p extra_tags, &html_block
end

p_with_class_tag "some-class" { "hello" } # =>

hello

```