X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Frequirement_spec_text_block%2F_form.html;h=545ba19ee62e3d5d377416a7fa40fd4af394a74b;hb=22160ea4c5a22844f77b3309c03ca6f4c84da6ac;hp=8a8a6d354c95fcd585ec8d997f1c5a3d8a3de559;hpb=e8ac38a63f43c43b30cdf45bd877e39bf0fd41b1;p=kivitendo-erp.git diff --git a/templates/webpages/requirement_spec_text_block/_form.html b/templates/webpages/requirement_spec_text_block/_form.html index 8a8a6d354..545ba19ee 100644 --- a/templates/webpages/requirement_spec_text_block/_form.html +++ b/templates/webpages/requirement_spec_text_block/_form.html @@ -1,4 +1,4 @@ -[%- USE LxERP -%][%- USE L -%][%- USE HTML -%][%- USE JavaScript -%][% SET style="width: 500px" %] +[%- USE LxERP -%][%- USE L -%][%- USE HTML -%][% SET style="width: 500px" %] [% DEFAULT id_base = 'edit_text_block_' _ SELF.text_block.id %]

@@ -36,53 +36,19 @@ [%- LxERP.t8("Description") %]: - [% L.textarea_tag(id_base _ '.text', SELF.text_block.text, style = style, rows = 10) %] + [% L.textarea_tag(id_base _ '.text_as_restricted_html', SELF.text_block.text_as_restricted_html, id = id_base _ '_text', style = style _ '; height: 200px', class='texteditor') %]

[%- L.ajax_submit_tag('controller.pl?action=RequirementSpecTextBlock/ajax_' _ (SELF.text_block.id ? 'update' : 'create'), '#' _ id_base _ '_form', LxERP.t8('Save')) %] - [%- LxERP.t8("Cancel") %] + [%- LxERP.t8("Cancel") %]

[%- IF SELF.predefined_texts.size %] [%- END %]