remove form from views

This commit is contained in:
Ruling-Mac 2015-10-21 15:13:08 +08:00
parent 17877245d0
commit 456c698d31
2 changed files with 0 additions and 37 deletions

View File

@ -1,24 +1 @@
<%= form_tag "/zh_tw/DigitalArchive", :method => 'get' do %>
<p>
<label> Title :</label>
<%= text_field_tag :title, params[:title] %>
<br>
<label> Character :</label>
<%= text_field_tag :character, params[:character] %>
<br>
<label> Location :</label>
<%= text_field_tag :location, params[:location] %>
<br>
<label> Description :</label>
<%= text_field_tag :description, params[:description] %>
<br>
<label> Date </label>
<%= date_field_tag :item_date_low, params[:item_date_low]%>
<label>to</label>
<%= date_field_tag :item_date_high, params[:item_date_high]%>
<br><br>
<%= submit_tag "Search", :name => nil , :class => "btn btn-primary"%>
</p>
<% end %>
<%= render_view %> <%= render_view %>

View File

@ -1,14 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<title>DigitalArchive</title>
<%= stylesheet_link_tag "digital_archive/application", media: "all" %>
<%= javascript_include_tag "digital_archive/application" %>
<%= csrf_meta_tags %>
</head>
<body>
<%= yield %>
</body>
</html>