Don't show cancel button on edit page.
This commit is contained in:
parent
b06104a1da
commit
94deb482ae
|
@ -184,8 +184,6 @@
|
|||
class='btn btn-primary'
|
||||
label=saveLabel}}
|
||||
|
||||
{{#link-to "groups"}}
|
||||
{{i18n 'cancel'}}
|
||||
{{/link-to}}
|
||||
{{yield}}
|
||||
</div>
|
||||
</form>
|
||||
|
|
|
@ -1,7 +1,12 @@
|
|||
{{#d-section pageClass="groups-new"}}
|
||||
<h1>{{i18n "groups.new.title"}}</h1>
|
||||
|
||||
{{group-form model=model
|
||||
{{#group-form model=model
|
||||
saveLabel="groups.new.create"
|
||||
save="save"}}
|
||||
|
||||
{{#link-to "groups"}}
|
||||
{{i18n 'cancel'}}
|
||||
{{/link-to}}
|
||||
{{/group-form}}
|
||||
{{/d-section}}
|
||||
|
|
Loading…
Reference in New Issue