Method: Forma::Form#tab_actions
- Defined in:
- lib/forma/form.rb
#tab_actions(tab) ⇒ Object
162 163 164 165 166 |
# File 'lib/forma/form.rb', line 162 def tab_actions(tab) if tab.actions.any? el('div', attrs: { class: 'ff-tab-actions' }, children: tab.actions.map { |a| a.to_html(@model) }) end end |