X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=templates%2Fwebpages%2Frequirement_spec_item%2F_section_form.html;h=14c5af5bebe9cff4cd33f36f9ab4571f09d592fe;hb=c8baba6bafe694a734c59c463ae5382d536b6622;hp=1136fc8066d46496b111e6754ed7d4a5b5c01dc3;hpb=9a71fdb60ef0a0dcc50b858d34b552f937880778;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 1136fc806..14c5af5be 100644 --- a/templates/webpages/requirement_spec_item/_section_form.html +++ b/templates/webpages/requirement_spec_item/_section_form.html @@ -12,8 +12,10 @@ [%- END %] - [% L.hidden_tag(id_base _ '_id', SELF.item.id) %] + [% L.hidden_tag('form_prefix', id_base id=id_base _ '_form_prefix') %] + [% L.hidden_tag('id', SELF.item.id, id=id_base _ '_id') %] [% L.hidden_tag(id_base _ '.requirement_spec_id', SELF.item.requirement_spec_id) %] + [% L.hidden_tag(id_base _ '.item_type', 'section') %] [% IF insert_after %] [% L.hidden_tag(id_base _ '.insert_after', insert_after) %] [% END %] @@ -23,13 +25,35 @@ [% L.input_tag(id_base _ '.title', SELF.item.title, style=style) %]
-
- [%- LxERP.t8("Description") %]:
- [% L.textarea_tag(id_base _ '.description', SELF.item.description, rows=8, cols=80, style=style) %]
-
+ [%- LxERP.t8("Pre-defined Texts") %]:
+ [%- L.select_tag(id_base _ '_predefined_text_block', SELF.predefined_texts, title_key='description', style=style) %]
+ [%- LxERP.t8("Insert") %]
+
- [% L.button_tag('submit_edit_item_form("' _ id_base _ '")', LxERP.t8('Save')) %] - [%- LxERP.t8("Cancel") %] -
+
+ [%- LxERP.t8("Description") %]: + [% 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") %] + |
+
+
+ [% LxERP.t8("Price Factor") %]: + [% L.input_tag(id_base _ ".sellprice_factor_as_number", SELF.item.sellprice_factor_as_number, size="6") %] + |
+