Sha256: ab480e9acfedee7a9da57b6de2ce08a68bfbd1cc5c5fee43752760ecc062ac17

Contents?: true

Size: 489 Bytes

Versions: 1

Compression:

Stored size: 489 Bytes

Contents

<%= content_for :title, t('.title')  %>

<h1><%= t('.title') %></h1>

<%= form_tag diagnosis_path do %>
  <% flash.each do |key, value| %>
    <%= value %>
  <% end %>
  <% %i[endpoint params].each do |attr|  %>
    <p>
      <%= label_tag t(".#{attr}") %>
      <%= text_field_tag attr %>
    </p>
  <% end %>
  <p>
    <%= label_tag t('.method') %>
    <%= select_tag :method, options_for_select(%w[GET POST PUT PATCH DELETE], 'GET') %>
  </p>
  <%= submit_tag t('.create') %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

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