X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Frequirement_spec_text_block%2F_form.html;h=545ba19ee62e3d5d377416a7fa40fd4af394a74b;hb=5a1856a8dc3dfc32759713c23ac40c93fe8ae598;hp=5637b2f9771355c2bd9efb6e754433ee1206ab25;hpb=f10e650c26ed930ce04f4ca1bd3f21d0036e5ba4;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 5637b2f97..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 %]

@@ -10,7 +10,8 @@ [%- END %]

- [% L.hidden_tag(id_base _ '_id', SELF.text_block.id) %] + [% L.hidden_tag('form_prefix', id_base, id=id_base _ '_form_prefix') %] + [% L.hidden_tag('id', SELF.text_block.id, id=id_base _ '_id') %] [% L.hidden_tag(id_base _ '.requirement_spec_id', SELF.text_block.requirement_spec_id) %] [% L.hidden_tag(id_base _ '.output_position', SELF.text_block.output_position) %] [% IF insert_after %] @@ -35,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.button_tag('submit_edit_text_block_form("' _ id_base _ '")', LxERP.t8('Save')) %] - [%- LxERP.t8("Cancel") %] + [%- L.ajax_submit_tag('controller.pl?action=RequirementSpecTextBlock/ajax_' _ (SELF.text_block.id ? 'update' : 'create'), '#' _ id_base _ '_form', LxERP.t8('Save')) %] + [%- LxERP.t8("Cancel") %]

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