fixed broken spec
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
- if supporter_signed_in?
|
- if supporter_signed_in?
|
||||||
h1.sr-only = title t('.title', name: current_supporter.first_name)
|
h1.sr-only = title t('.title', name: current_supporter.first_name)
|
||||||
.row
|
.row
|
||||||
.col-xs-12.col-md-7
|
.col-xs-12
|
||||||
.panel.panel-default
|
.panel.panel-default
|
||||||
.panel-heading
|
.panel-heading
|
||||||
h2.panel-title = t '.my_data'
|
h2.panel-title = t '.my_data'
|
||||||
.panel-body
|
.panel-body
|
||||||
dl.dl-horizontal
|
dl.dl-horizontal
|
||||||
dt = Supporter.human_attribute_name(:email)
|
dt = Supporter.human_attribute_name(:email)
|
||||||
dd = current_supporter.email
|
dd = current_supporter.email
|
||||||
@@ -25,15 +25,11 @@
|
|||||||
dd = t("languages.#{current_supporter.language}")
|
dd = t("languages.#{current_supporter.language}")
|
||||||
dt = Supporter.human_attribute_name(:tel)
|
dt = Supporter.human_attribute_name(:tel)
|
||||||
dd = current_supporter.tel
|
dd = current_supporter.tel
|
||||||
|
|
||||||
p
|
p
|
||||||
= link_to t('.edit'), edit_supporter_registration_path(), class: 'pull-right'
|
= link_to t('.edit'), edit_supporter_registration_path(), class: 'pull-right'
|
||||||
|
|
||||||
= render 'publicity'
|
= render 'publicity'
|
||||||
|
|
||||||
aside.col-md-5.col-xs-12
|
|
||||||
= render 'right_side'
|
|
||||||
|
|
||||||
- else
|
- else
|
||||||
= render 'form'
|
= render 'form'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user