retrospring/app/views/lists/_form.html.haml
2022-12-05 23:10:11 +01:00

4 lines
293 B
Text

%form#create-form{ action: lists_create_path, method: :post }
%input{ type: :hidden, name: "user", value: user.screen_name }
%input.form-control.mb-2#name{ type: :text, name: "name", placeholder: t(".placeholder") }
%input{ type: :submit, class: "btn btn-primary", value: t(".action") }