[% PROCESS 'elements.html' %]
[% request.title %]
[% PROCESS input element_data = { type = "hidden" name = "id" value = asset_class.id } %]
[% PROCESS input element_data = { type = "text" name = "label" value = asset_class.label class = "control_code" size = 32 label = text('Label:') } %]
[% PROCESS select element_data = { label = text('Depreciation Method') #' options = asset_class.dep_methods value_attr = 'id' text_attr = 'method' default_values = [asset_class.method] name = 'method' required = 1 } %]
[% PROCESS select element_data = { label = text('Asset Account') #' options = asset_class.asset_accounts name = "asset_account_id" default_values = [asset_class.asset_account_id] value_attr = 'id' text_attr = 'text' required = 1 } %] [% PROCESS select element_data = { label = text('Depreciation Account') #' options = asset_class.dep_accounts name = "dep_account_id" default_values = [asset_class.dep_account_id] value_attr = 'id' text_attr = 'text' required = 1 } %]
[% PROCESS button element_data = { text = text("Save") type = "submit" class = "submit" name = "__action" value = "asset_category_save" 'data-lsmb-doing' = text('Saving...') 'data-lsmb-done' = text('Saved') } %]