Skip to content

Commit

Permalink
neaten admin forms
Browse files Browse the repository at this point in the history
  • Loading branch information
fwolfst committed Oct 7, 2020
1 parent ee02ebf commit 83fe22d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/views/admin/blog/posts/_form.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@
= f.label :active
= f.check_box :active
.actions
= f.submit 'Save', class: 'button'
= f.submit t('actions.Save'), class: 'button is-primary is-pulled-right'
2 changes: 1 addition & 1 deletion app/views/admin/courses/_form.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@
= f.label :active
= f.check_box :active
.actions
= f.submit 'Save', class: 'button is-primary'
= f.submit t('actions.save'), class: 'button is-primary is-pulled-right'
2 changes: 1 addition & 1 deletion app/views/admin/places/_form.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@
= f.label :active
= f.check_box :active
.actions
= f.submit 'Save', class: 'button is-link is-outlined'
= f.submit t('actions.save'), class: 'button is-primary is-pulled-right'
2 changes: 1 addition & 1 deletion app/views/admin/site_settings/_form.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
- else @site_setting.kind == "image"
= f.text_field :value
.actions
= f.submit ('Save'), class: 'button is-link'
= f.submit t('actions.Save'), class: 'button is-primary is-pulled-right'
2 changes: 1 addition & 1 deletion app/views/admin/styles/_form.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@
= f.label :active
= f.check_box :active
.actions
= f.submit 'Save', class: 'button'
= f.submit t('actions.save'), class: 'button is-primary is-pulled-right'

0 comments on commit 83fe22d

Please sign in to comment.