Commit 08bcc0ca34f6024db6eb63e77cf5907d3263241f
1 parent
06accd14
Exists in
master
and in
22 other branches
[template-welcome-page] Add error messages
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
app/views/profile_editor/welcome_page.html.erb
| 1 | 1 | <h1><%= _('Edit welcome page') %></h1> |
| 2 | 2 | |
| 3 | 3 | <% labelled_form_for :welcome_page, @welcome_page do |f| %> |
| 4 | + <%= error_messages_for :welcome_page %> | |
| 5 | + | |
| 4 | 6 | <%= f.check_box(:published) %> |
| 5 | 7 | <div class='explanation'> |
| 6 | 8 | <%= _('Your welcome page will only be displayed if this options is selected.') %> | ... | ... |