Sha256: f6e6bc8a0839cc75dcdbf650bf9280f57a986482fd484b00a286383bbf72759f

Contents?: true

Size: 419 Bytes

Versions: 1

Compression:

Stored size: 419 Bytes

Contents

<h1>New Lecter diagnosis</h1>

<%= form_tag lecter_diagnosis_path do %>
  <% flash.each do |key, value| %>
    <%= value %>
  <% end %>
  <% %i[endpoint params].each do |attr|  %>
    <p>
      <%= label_tag attr %>
      <%= text_field_tag attr %>
    </p>
  <% end %>
  <p>
    <%= label_tag :method %>
    <%= select_tag :method, options_for_select(%w[get post], 'get') %>
  </p>
  <%= submit_tag :send %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lecter-0.1.3 app/views/lecter/diagnosis/new.erb