Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
[Growstuff#478] autofocus subject input
Browse files Browse the repository at this point in the history
  • Loading branch information
Mauricio authored and Mauricio committed Jun 3, 2015
1 parent a7feac3 commit e3a620a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,5 @@ submit the change with your pull request.
- Robert Landreaux / [robertlandreaux](https://github.com/robertlandreaux)
- Savant Krishna / [sksavant](https://github.com/sksavant)
- Jake Yesbeck / [yez](https://github.com/yez)
- Mauricio Gonzalez / [mauricio-gonzalez](https://github.com/mauricio-gonzalez)

2 changes: 1 addition & 1 deletion app/views/posts/_form.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

.form-group
= label_tag :post, "Subject", :class => 'control-label'
= f.text_field :subject, :class => 'form-control'
= f.text_field :subject, :class => 'form-control', :autofocus => true

.form-group
- if @post.forum || @forum
Expand Down

0 comments on commit e3a620a

Please sign in to comment.