This repository has been archived by the owner on May 26, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
2 changed files
with
22 additions
and
15 deletions.
There are no files selected for viewing
24 changes: 9 additions & 15 deletions
24
app/components/grupo-centro-custos/grupo-centro-custos-form.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,9 @@ | ||
<div class="form-horizontal"> | ||
<div class="form-group"> | ||
<label class="col-sm-2 control-label">Nome:</label> | ||
<div class="col-sm-6"> | ||
<Input @type="text" @value={{@model.nome}} class="form-control" placeholder="Grupo centro custo" /> | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
<div class="col-sm-offset-2 col-sm-10"> | ||
{{!- TODO: Do not use `action` as. Instead, use the `on` modifier and `fn` -}} | ||
{{!- TODO: helper.ember-template-lint -}} | ||
<button type="submit" class="btn btn-success" {{on "click" (fn this.save @model)}}>Salvar</button> | ||
</div> | ||
</div> | ||
</div> | ||
<FormInput | ||
@value={{this.value}} | ||
@onInput={{this.setValue}} | ||
placeholder="Insira um nome" | ||
/> | ||
|
||
<p> | ||
Você digiou, "{{this.value}}" | ||
</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters