remove form from views
This commit is contained in:
parent
17877245d0
commit
456c698d31
|
@ -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 %>
|
|
@ -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>
|
Loading…
Reference in New Issue