Please enable JavaScript to use RhodeCode Enterprise
.container-fluid
%h1 Editing announcement
= error_messages_for :announcement
.row
.col-md-6
= form_for ( @announcement ) do | f |
.form-group
%label Title
= f . text_field :title , class : 'form-control'
.form-group
%label Notes
(shown internally, used to organize announcements)
= f . text_field :notes , class : 'form-control'
.form-group
%label Body
= f . text_area :body , class : 'form-control' , style : 'height: 200px;'
.form-group
%label Author
= f . text_field :author , class : 'form-control'
.checkbox
%label
= f . check_box :published
Published
.checkbox
%label
= f . check_box :frontpage
Show on front page?
.checkbox
%label
= f . check_box :contest_only
Show only in contest?
= f . submit "Update" , class : 'btn btn-primary'
= link_to 'Show' , @announcement , class : 'btn btn-default'
= link_to 'Back' , announcements_path , class : 'btn btn-default'
Site-wide shortcuts
/
Use quick search box
g h
Goto home page
g g
Goto my private gists page
g G
Goto my public gists page
n r
New repository page
n g
New gist page
Repositories
g s
Goto summary page
g c
Goto changelog page
g f
Goto files page
g F
Goto files page with file search activated
g p
Goto pull requests page
g o
Goto repository settings
g O
Goto repository permissions settings