Please enable JavaScript to use RhodeCode Enterprise
Commit Description:
merge
Commit Description:
merge
= simple_form_for ( @announcement ) do | f |
- if @announcement . errors . any?
.form-row
.col-sm-12
#error_explanation .alert.alert-dismissable.alert-danger
%button .close { type : "button" , data : { dismiss : "alert" } , aria: {hidden: "true"}} ×
%h3 = "เกิดปัญหาในการบันทึกข้อมูลเนื่องจาก"
%ul
- @announcement . errors . full_messages . each do | message |
%li = message
.form-row
.col-md-6.col-12
-# = f.input :lock_version, as: :hidden
= f . input :title
= f . input :notes , label : 'Notes (shown internally, used to organize announcements)'
= f . input :body
= f . input :author
= f . input :published
= f . input :frontpage , label : 'Display in the front page only?'
= f . input :on_nav_bar , label : 'Show on menu bar?' , wrapper : :custom_boolean
= f . input :contest_only , label : 'Display in contest only?'
= f . submit "Create" , class : 'btn btn-primary'
- if content_for? ( :form_buttons )
= yield ( :form_buttons )
/ = 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