how about some updated design for this

This commit is contained in:
Andreas N 2015-01-03 18:57:30 +01:00
parent e37907f948
commit a259c19ef0
1 changed files with 16 additions and 14 deletions

View File

@ -1,6 +1,7 @@
.container.j2-page
/ TODO: make this pretty (it's currently C-c'd straight from shared/_answerbox)
.panel-heading
.panel.panel-default
.panel-body
.media
- unless @question.author_is_anonymous
%a.pull-left{href: show_user_profile_path(@question.user.screen_name)}
@ -14,8 +15,9 @@
%p.answerbox--question-text= @question.content
- if user_signed_in? and !current_user.answered? @question
#q-answer-box
Add your Senf here:
.panel.panel-default#q-answer-box
.panel-heading
%h3.panel-title This question was not in your inbox? Answer it here!
.panel-body
%textarea#q-answer.form-control{placeholder: 'Write your answer here...', data: { id: @question.id }}
%br/