wiki pages
This commit is contained in:
@@ -5,4 +5,6 @@
|
||||
<% if CurrentUser.is_janitor? %>
|
||||
<%= f.input :is_locked %>
|
||||
<% end %>
|
||||
<%= f.button :submit, "Save" %><%= f.button :submit, "Cancel" %><%= f.button :submit "Preview" %>
|
||||
<div id="multiple-buttons">
|
||||
<%= f.button :submit, "Save" %><%= f.button :submit, "Cancel" %><%= f.button :submit, "Preview" %>
|
||||
</div>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<aside id="sidebar">
|
||||
<section>
|
||||
<h1>Search</h1>
|
||||
<%= simple_form_for(@search) do |f| %>
|
||||
<%= f.input :title_contains %>
|
||||
<%= form_tag(wiki_pages_path, :method => :get) do %>
|
||||
<%= text_field_tag "title", params[:title], :size => 20 %>
|
||||
<% end %>
|
||||
</section>
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
<%= render "sidebar" %>
|
||||
|
||||
<section id="content">
|
||||
<h1>New Wiki Page</h1>
|
||||
<div id="preview">
|
||||
</div>
|
||||
|
||||
|
||||
@@ -15,3 +15,5 @@
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<%= render "secondary_links" %>
|
||||
Reference in New Issue
Block a user