[% PROCESS "elements.html" -%]
[% text('New Asset Report') %]
[% PROCESS select element_data = { name = "asset_class" default_values = [report.asset_class] options = report.asset_classes text_attr = "label" value_attr = "id" label = text('Asset Class') #' } %]
[% PROCESS input element_data = { name = "report_date" class = "date" value = report.report_date label = text("Date") } %]
[% IF ! report.depreciation %] [% PROCESS input element_data ={ name = 'report_class' id = 'report_class-full' class = 'type' label = text('Full') value = 2 checked = 'CHECKED' type = 'radio' } %]
[% PROCESS input element_data ={ name = 'report_class' id = 'report_class-partial' class = 'type' label = text('Partial') value = 4 type = 'radio' } %] [% END %]
[% PROCESS input element_data = { name = "depreciation" type = "hidden" value = report.depreciation } %]
[% PROCESS button element_data = { name = "__action" text = text("Continue") value = "report_init" type = "submit" class = "submit" } %]