1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-25 09:51:14 +00:00
redmine/app/views/wiki/_new_modal.html.erb
Go MAEDA 05289f6002 Replace cancel button with cancel link in modals (#28662).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17677 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-02 06:24:21 +00:00

30 lines
898 B
Plaintext

<h3 class="title"><%=l(:label_wiki_page_new)%></h3>
<%= labelled_form_for :page, @page,
:url => new_project_wiki_page_path(@project),
:method => 'post',
:remote => true do |f| %>
<%= render_error_messages @page.errors.full_messages_for(:title) %>
<div class="box tabular">
<p>
<%= f.text_field :title, :name => 'title', :size => 60, :required => true %>
<em class="info"><%= l(:text_unallowed_characters) %>: , . / ? ; : |</em>
</p>
<p>
<% if params[:parent].present? %>
<label class="inline">
<%= check_box_tag 'parent', params[:parent], true %>
<%= l(:field_parent_title) %>: <%= params[:parent] %>
</label>
<% end %>
</p>
</div>
<p class="buttons">
<%= submit_tag l(:label_next), :name => nil %>
<%= link_to_function l(:button_cancel), "hideModal(this);" %>
</p>
<% end %>