Skip to content

Commit 33512a3

Browse files
committed
Remove Content ITem name from Update Button
1 parent 33dfac1 commit 33512a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/content_items/_form.html.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
- if @content_type.publishable
88
- case @content_item.state
99
- when 'published'
10-
= form.submit "Update #{@content_type.name} Post", class: 'mdl-button mdl-js-button mdl-button--raised mdl-button--success mdl-js-ripple-effect'
10+
= form.submit "Update Post", class: 'mdl-button mdl-js-button mdl-button--raised mdl-button--success mdl-js-ripple-effect'
1111
= form.button 'Save as Draft', value: 'draft', name: 'content_item[state]', class: 'mdl-button mdl-js-button mdl-button--cb mdl-js-ripple-effect', type: 'submit'
1212
- when 'scheduled'
1313
= form.button 'Schedule Post', value: 'schedule', name: 'content_item[state]', class: 'mdl-button mdl-js-button mdl-button--cb mdl-js-ripple-effect', type: 'submit'

0 commit comments

Comments
 (0)