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

Merge branch 'issue-9359' into 'rails'
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

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

See merge request sutty/sutty!115
This commit is contained in:
fauno 2023-04-10 15:52:04 +00:00
commit aaa4608cf7

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")