+
{{@helper}}
{{/if}}
diff --git a/app/components/form/input.hbs b/app/components/form/input.hbs
index fa734ce..3e37577 100644
--- a/app/components/form/input.hbs
+++ b/app/components/form/input.hbs
@@ -1,27 +1,22 @@
-
- {{#if @label}}
-
- {{/if}}
-
+
+
{{#if @prefixIcon}}
- <@prefixIcon class="h-8 w-8 pl-2" />
+ <@prefixIcon class='h-8 w-8 pl-2' />
{{/if}}
- {{#if @helper}}
-
- {{@helper}}
-
- {{/if}}
-
+
diff --git a/app/components/form/textarea.hbs b/app/components/form/textarea.hbs
index 908956c..6695e6a 100644
--- a/app/components/form/textarea.hbs
+++ b/app/components/form/textarea.hbs
@@ -1,26 +1,16 @@
-
- {{#if @label}}
-
- {{/if}}
-
- {{#if @prefixIcon}}
- <@prefixIcon class='h-8 w-8 pl-2' />
- {{/if}}
-
-
- {{#if @helper}}
-
- {{@helper}}
-
- {{/if}}
-
+
+
+
diff --git a/app/components/form/textarea.js b/app/components/form/textarea.js
index 5b45456..f655fc0 100644
--- a/app/components/form/textarea.js
+++ b/app/components/form/textarea.js
@@ -1,20 +1,3 @@
-import Component from '@glimmer/component';
-import { guidFor } from '@ember/object/internals';
-import { action } from '@ember/object';
+import FormInputComponent from './input';
-export default class FormTextareaComponent extends Component {
- get guid() {
- return guidFor(this);
- }
-
- get id() {
- return this.args.id ?? this.guid;
- }
-
- @action
- onChange(event) {
- if (this.args.onChange) {
- this.args.onChange(event.target.value, event);
- }
- }
-}
+export default class FormTextareaComponent extends FormInputComponent {}