<%= labelled_form_for(@forum) do |f| %> <% if @forum.errors.any? %> <% end %>
<%= f.text_field :name, :required => true, :style => 'width: 100%;', :class => 'create-share', :maxlength => 50%>
<% if User.current.logged? && User.current.admin? %> <% if @forum.safe_attribute? 'sticky' %> <%= f.check_box :sticky %> <%= label_tag 'message_sticky', l(:label_board_sticky) %> <% end %> <% if @forum.safe_attribute? 'locked' %> <%= f.check_box :locked %> <%= label_tag 'message_locked', l(:label_board_locked) %> <% end %> <% end %>

<%= f.text_area :description, :required => true, :id => 'editor01' %>

(<%= l(:label_forums_max_length) %>)

<%= submit_tag l(:button_submit) %> <%= link_to l(:button_back), forums_path ,:style => 'font-size: 14px; padding: 0px 3px;' %>
<% end %>