This commit is contained in:
yanxd 2013-12-16 19:36:50 +08:00
parent 246ab25bf0
commit fcfb8ea270
2 changed files with 2 additions and 8 deletions

View File

@ -21,12 +21,9 @@
<%= f.text_area :description, :required => true, :rows => 4, :style => 'width: 100%;resize: none;', :class => 'create-share' %>
</div>
<div class="actions" style=" padding-top: 10px; float:right">
<%= f.submit :value=>(l :label_board_new) ,:class => 'nyan-clean-gray', :style => 'font-size: 14px; padding: 0px 3px' %>
<%= f.submit :value=>(l :button_submit) ,:class => 'nyan-clean-gray', :style => 'font-size: 14px; padding: 0px 3px' %>
<%= link_to l(:button_back), forums_path,:class => 'nyan-clean-gray',:style => 'font-size: 14px; padding: 0px 3px; color: #000' %>
</div>
<p><%#= f.text_field :name, :required => true %></p>
<p><%#= f.text_field :description, :required => true, :size => 80 %></p>
<%#= f.submit :value => (l :label_board_new) %>
</div>
<% end %>
</div>

View File

@ -1,7 +1,4 @@
<!-- added by fq -->
<h1>Editing forum</h1>
<h1>编辑讨论区</h1>
<%= render 'form' %>
<%= link_to 'Show', @forum %> |
<%= link_to 'Back', forums_path %>