added layouts/messages to setting views

This commit is contained in:
nilsding 2014-12-13 16:03:18 +01:00
parent a2dae7c5d4
commit 935acb7335
3 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,7 @@
.container.j2-page
= render 'user/settings_tabs'
.col-md-9.col-xs-12.col-sm-9
= render 'layouts/messages'
.panel.panel-default
.panel-body
- if @services.count > 0

View File

@ -3,8 +3,10 @@
.col-md-9.col-xs-12.col-sm-9
.alert.alert-info
justask currently only supports avatars over
%a{href: "https://en.gravatar.com"} Gravatar
, after you set yours up, use the E-Mail you are using for it on here as well, we will directly use this image then!
= succeed ',' do
%a{href: "https://en.gravatar.com"} Gravatar
after you set yours up, use the E-Mail you are using for it on here as well, we will directly use this image then!
= render 'layouts/messages'
.panel.panel-default
.panel-body
= bootstrap_form_for(resource, as: resource_name, url: '/settings/account', html: { method: :put }) do |f|

View File

@ -1,6 +1,7 @@
.container.j2-page
= render 'settings_tabs'
.col-md-9.col-xs-12.col-sm-9
= render 'layouts/messages'
.panel.panel-default
.panel-body
= bootstrap_form_for(current_user, url: {action: "edit"}, method: "patch") do |f|