]> cat aescling's git repositories - mastodon.git/commitdiff
moved save button (#3792)
authorCharlotte Fields <charlottelilyfields48@gmail.com>
Fri, 2 Feb 2018 09:45:43 +0000 (20:45 +1100)
committerEugen Rochko <eugen@zeonfederated.com>
Fri, 2 Feb 2018 09:45:43 +0000 (10:45 +0100)
* moved save button

* added save back to the bottom

* Update show.html.haml

app/views/settings/preferences/show.html.haml

index 69e26a7be2cae6fe898008fea0304f8e0f347917..441e27a68198a9d3030b1b3c187530f5d64dea24 100644 (file)
@@ -4,6 +4,9 @@
 = simple_form_for current_user, url: settings_preferences_path, html: { method: :put } do |f|
   = render 'shared/error_messages', object: current_user
 
+  .actions
+    = f.button :button, t('generic.save_changes'), type: :submit
+
   %h4= t 'preferences.languages'
 
   .fields-group