Develop and Download Open Source Software

Browse Subversion Repository

Contents of /trunk/redmine_glossary/app/views/glossary/new.html.erb

Parent Directory Parent Directory | Revision Log Revision Log


Revision 82 - (show annotations) (download)
Sun Mar 23 19:06:39 2014 UTC (10 years, 1 month ago) by myoshida
File size: 960 byte(s)
Fix form unvisible. 
<% form_tag .. %>  =>  <%= form_tag .. %>
1 <h2><%=l(:label_term_new)%></h2>
2
3 <%= labelled_form_for :term, @term,
4 :url => {:action => 'new', :project_id => @project},
5 :html => {:multipart => true, :id => 'term-form'} do |f| %>
6 <%= error_messages_for 'term' %>
7 <div class="box">
8 <%= render :partial => 'glossary/form', :locals => {:f => f} %>
9 </div>
10 <%= submit_tag l(:button_create) %>
11 <%= submit_tag l(:button_create_and_continue), :name => 'continue' %>
12 <%= link_to l(:label_preview),
13 { :url => { :controller => 'glossary', :action => 'preview', :project_id => @project },
14 :method => 'post',
15 :update => 'preview',
16 :with => "Form.serialize('term-form')",
17 :complete => "Element.scrollTo('preview')"
18 }, {:accesskey => accesskey(:preview), :remore=>true} %>
19 <% end %>
20
21 <div id="preview" class="wiki"></div>
22
23 <% html_title(l(:glossary_title)) -%>

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26