X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Frequirement_spec_item%2F_section_form.html;h=93d75bed82f13064b0006548be4cbb555f92c48c;hb=d6138be82164a47633942ae567d17c44372c3139;hp=c5ee1570df7d8c7961d77fbb5012af7f436440f2;hpb=2ea806480ef25ecd3a61a32d80e216e87210c39d;p=kivitendo-erp.git diff --git a/templates/webpages/requirement_spec_item/_section_form.html b/templates/webpages/requirement_spec_item/_section_form.html index c5ee1570d..93d75bed8 100644 --- a/templates/webpages/requirement_spec_item/_section_form.html +++ b/templates/webpages/requirement_spec_item/_section_form.html @@ -25,13 +25,29 @@ [% L.input_tag(id_base _ '.title', SELF.item.title, style=style) %]
+ [%- IF SELF.predefined_texts.size %] +
+ [%- LxERP.t8("Pre-defined Texts") %]:
+ [%- L.select_tag(id_base _ '_predefined_text_block', SELF.predefined_texts, title_key='description', style=style) %]
+ [%- LxERP.t8("Insert") %]
+
[%- LxERP.t8("Description") %]:
- [% L.textarea_tag(id_base _ '.description', SELF.item.description, rows=8, cols=80, style=style) %]
+ [% L.textarea_tag(id_base _ '.description_as_restricted_html', SELF.item.description_as_restricted_html, id=id_base _ '_description', rows=8, cols=80, style=style, class='texteditor') %]
[% L.ajax_submit_tag('controller.pl?action=RequirementSpecItem/ajax_' _ (SELF.item.id ? 'update' : 'create'), '#' _ id_base _ '_form', LxERP.t8('Save')) %] [%- LxERP.t8("Cancel") %]
+ +[%- IF SELF.predefined_texts.size %] + +[%- END %]