mirror of
https://github.com/opf/openproject.git
synced 2026-06-14 03:30:14 +00:00
19 lines
817 B
Plaintext
19 lines
817 B
Plaintext
<%= render(FormControl.new(input: @input, class: @wrapper_classes, data: @wrapper_data_attributes)) do %>
|
|
<%= content_tag(:div, hidden: true) do %>
|
|
<%= builder.text_area(@input.name, **@input.input_arguments) %>
|
|
<% end %>
|
|
<%= angular_component_tag "opce-ckeditor-augmented-textarea",
|
|
inputs: @rich_text_options.reverse_merge(
|
|
{
|
|
textAreaId: @text_area_id,
|
|
macros: false,
|
|
turboMode: true
|
|
}
|
|
),
|
|
class: @input.classes,
|
|
data: @rich_text_data %>
|
|
<% if @rich_text_options[:footer] %>
|
|
<%= @rich_text_options[:footer] %>
|
|
<% end %>
|
|
<% end %>
|