
<div class="homepageContentContainer mb10">
  <div class="homepageContent">
    <div class="pageBanner mt15"><div class="NewsBannerName">编辑贴吧</div></div>
    <div class="cl"></div>

    <div class="postContainer">
      <%= labelled_form_for(@forum) do |f|  %>
      <div id="error" style="display: none;color: red;">
      </div>
      <div>
        <textarea type="text" id="forum_name" name="forum[name]" maxlength="50" class="postCreateInput" placeholder="对应贴吧名称"  ><%= @forum.name.html_safe%></textarea>
      </div>
      <div class="mt15">
        <textarea type="text" id="forum_desc" name="forum[description]" maxlength="5000" class="postCreateInput" placeholder="对应贴吧描述" ><%= @forum.description.html_safe%></textarea>
      </div>
      <div class="mt10">
        <div class="fr"><a href="javascript:void(0);" class="submit_btn" onclick="check_and_submit($(this));">确定</a></div>
        <div class="fr"><a href="<%= forum_path(@forum)%>" class="linkGrey2 mr10" >取消</a><span class="mr10 fontGrey">或</span></div>
        <div class="cl"></div>
      </div>
      <% end %>
    </div>

  </div>
</div>