diff --git a/app/views/forums/_form.html.erb b/app/views/forums/_form.html.erb index 3f6759d00..b14df7b11 100644 --- a/app/views/forums/_form.html.erb +++ b/app/views/forums/_form.html.erb @@ -21,12 +21,9 @@ <%= f.text_area :description, :required => true, :rows => 4, :style => 'width: 100%;resize: none;', :class => 'create-share' %>
- <%= 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' %>
-

<%#= f.text_field :name, :required => true %>

-

<%#= f.text_field :description, :required => true, :size => 80 %>

- <%#= f.submit :value => (l :label_board_new) %> <% end %> diff --git a/app/views/forums/edit.html.erb b/app/views/forums/edit.html.erb index e8111d61c..4aafbac7f 100644 --- a/app/views/forums/edit.html.erb +++ b/app/views/forums/edit.html.erb @@ -1,7 +1,4 @@ -

Editing forum

+

编辑讨论区

<%= render 'form' %> - -<%= link_to 'Show', @forum %> | -<%= link_to 'Back', forums_path %>