feat: 🎸 add fieldset
This commit is contained in:
1 parent
b0dd9bf803
commit
af337626f5
1 file changed
+17
@@ -74,6 +74,23 @@
|
||||
{{/each}}
|
||||
</form.radioGroup>
|
||||
|
||||
<Rose::Form::Fieldset>
|
||||
<:title>{{t 'form.http_method.label'}}</:title>
|
||||
<:description>{{t 'form.http_method.help'}}</:description>
|
||||
<:body>
|
||||
<form.radioGroup
|
||||
@name='http_method'
|
||||
@selectedValue={{@model.attributes.http_method}}
|
||||
@changed={{fn (mut @model.attributes.http_method)}}
|
||||
@inline={{true}}
|
||||
as |radioGroup|
|
||||
>
|
||||
{{#each this.httpMethods as |httpMethod|}}
|
||||
<radioGroup.radio @label={{httpMethod}} @value={{httpMethod}} />
|
||||
{{/each}}
|
||||
</form.radioGroup>
|
||||
</:body>
|
||||
</Rose::Form::Fieldset>
|
||||
<form.textarea
|
||||
@name='http_request_body'
|
||||
@type='text'
|
||||
|
||||
Reference in new issue
Block a user