mirror of
https://github.com/discourse/discourse.git
synced 2025-06-05 14:07:30 +08:00
Don't show cancel button on edit page.
This commit is contained in:
@ -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}}
|
||||||
|
Reference in New Issue
Block a user