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'
|
class='btn btn-primary'
|
||||||
label=saveLabel}}
|
label=saveLabel}}
|
||||||
|
|
||||||
{{#link-to "groups"}}
|
{{yield}}
|
||||||
{{i18n 'cancel'}}
|
|
||||||
{{/link-to}}
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -1,7 +1,12 @@
|
||||||
{{#d-section pageClass="groups-new"}}
|
{{#d-section pageClass="groups-new"}}
|
||||||
<h1>{{i18n "groups.new.title"}}</h1>
|
<h1>{{i18n "groups.new.title"}}</h1>
|
||||||
|
|
||||||
{{group-form model=model
|
{{#group-form model=model
|
||||||
saveLabel="groups.new.create"
|
saveLabel="groups.new.create"
|
||||||
save="save"}}
|
save="save"}}
|
||||||
|
|
||||||
|
{{#link-to "groups"}}
|
||||||
|
{{i18n 'cancel'}}
|
||||||
|
{{/link-to}}
|
||||||
|
{{/group-form}}
|
||||||
{{/d-section}}
|
{{/d-section}}
|
||||||
|
|
Loading…
Reference in New Issue