use capture instead of layout-hack to allow deface overrides
This commit is contained in:
parent
83738c8383
commit
3953c21ae2
4 changed files with 6 additions and 4 deletions
|
|
@ -1,7 +1,7 @@
|
|||
= f.input :name
|
||||
= f.input :description, as: :text, input_html: {rows: 4}
|
||||
|
||||
= yield
|
||||
= captured if defined? captured
|
||||
|
||||
= f.input :user_tokens, :as => :string,
|
||||
:input_html => { 'data-pre' => f.object.users.map(&:token_attributes).to_json }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue