|
@@ -1,13 +0,0 @@
|
|
|
--module(element_panel).
|
|
|
--author('Maxim Sokhatsky').
|
|
|
--include("nitro.hrl").
|
|
|
--compile(export_all).
|
|
|
-
|
|
|
-render_element(Record) ->
|
|
|
- wf_tags:emit_tag(<<"div">>, nitro:render(Record#panel.body),
|
|
|
- lists:append([
|
|
|
- [{<<"id">>, Record#panel.id},
|
|
|
- {<<"class">>, Record#panel.class},
|
|
|
- {<<"style">>, Record#panel.style}],
|
|
|
- Record#panel.data_fields,
|
|
|
- Record#panel.aria_states])).
|