5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-09-28 09:26:57 +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') %p.lead= t('.urls.description')
%form{ method: 'get', action: '#custom-urls' } %form{ method: 'get', action: '#custom-urls' }
%input{ type: 'hidden', name: 'interval', value: @interval } %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 .form-group
%label{ for: 'urls' }= t('.urls.label') %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") %textarea#urls.form-control{ name: 'urls', autocomplete: 'on', required: true, rows: @normalized_urls.size + 1, aria_describedby: 'help-urls' }= @normalized_urls.join("\n")