User bio in user account form

James Peret преди 10 години
родител
ревизия
daf20634f7
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  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">