5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-15 18:31:41 +00:00

fix: enviar el período como parámetros del formulario #9359

This commit is contained in:
f 2023-01-02 17:07:51 -03:00
parent 9681f15b70
commit aaaa1ad7b2

View file

@ -27,6 +27,8 @@
%p.lead= t('.urls.description')
%form{ method: 'get', action: '#custom-urls' }
%input{ type: 'hidden', name: 'interval', value: @interval }
%input{ type: 'hidden', name: 'period_start', value: params[:period_start] }
%input{ type: 'hidden', name: 'period_end', value: params[:period_end] }
.form-group
%label{ for: 'urls' }= t('.urls.label')
%textarea#urls.form-control{ name: 'urls', autocomplete: 'on', required: true, rows: @normalized_urls.size + 1, aria_describedby: 'help-urls' }= @normalized_urls.join("\n")