User bio in user account form

James Peret 10 gadi atpakaļ
vecāks
revīzija
daf20634f7
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. 3 0
      app/views/devise/registrations/edit.html.erb

+ 3 - 0
app/views/devise/registrations/edit.html.erb

@@ -50,6 +50,9 @@
50 50
 								    <%= f.text_field :first_name, label: (t 'registration.first_name'), required: true, autofocus: true, class: 'span5' %>
51 51
 								    <%= f.text_field :last_name, label: (t 'registration.last_name'), required: false, class: 'span5' %>
52 52
 								    <%= f.email_field :email, required: true, class: 'span5' %>
53
+								    <div class="form-inputs">
54
+									    <%= f.text_field :bio, label: (t 'registration.bio'), class: 'input-block-level' %>
55
+								    </div>
53 56
 								    </div>
54 57
 								    <hr>
55 58
 								    <div class="form-inputs">