Sha256: 2c10a2358cef420b88722e142d38aaa0ccbfcac5e2dd5a886cfe802396a8752c
Contents?: true
Size: 1.23 KB
Versions: 55
Compression:
Stored size: 1.23 KB
Contents
<%= form_for(@search_engine) do |f| -%> <% if @search_engine.errors.any? %> <div id="errorExplanation"> <h2><%= pluralize(@search_engine.errors.count, "error") %> prohibited this search_engine from being saved:</h2> <ul> <% @search_engine.errors.full_messages.each do |msg| %> <li><%= msg %></li> <% end %> </ul> </div> <% end %> <div class="field"> <%= f.label :name -%><br /> <%= f.text_field :name -%> </div> <div class="field"> <%= f.label :url -%><br /> <%= f.url_field :url, class: 'resource_url' -%> </div> <div class="field"> <%= f.label :base_url -%><br /> <%= f.text_area :base_url, class: 'resource_textarea' -%> </div> <div class="field"> <%= f.label :http_method -%><br /> <%= f.select :http_method, ['get', 'post'] -%> </div> <div class="field"> <%= f.label :query_param -%><br /> <%= f.text_field :query_param -%> </div> <div class="field"> <%= f.label :additional_param -%><br /> <%= f.text_area :additional_param, class: 'resource_textarea' -%> </div> <div class="field"> <%= f.label :note -%><br /> <%= f.text_area :note, class: 'resource_textarea' -%> </div> <div class="actions"> <%= f.submit %> </div> <%- end -%>
Version data entries
55 entries across 53 versions & 2 rubygems