Sha256: 06c7fb87e609227305ee97bc6414c8340a331918aa7ce32eb249ab71b7ddd0c3
Contents?: true
Size: 1 KB
Versions: 7
Compression:
Stored size: 1 KB
Contents
<%= form_with(model: alert) do |form| %> <% if alert.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(alert.errors.count, "error") %> prohibited this alert from being saved:</h2> <ul> <% alert.errors.each do |error| %> <li><%= error.full_message %></li> <% end %> </ul> </div> <% end %> <div class="field"> <%= form.label :class_name %> <%= form.text_field :class_name %> </div> <div class="field"> <%= form.label :kind %> <%= form.text_field :kind %> </div> <div class="field"> <%= form.label :symbol %> <%= form.text_field :symbol %> </div> <div class="field"> <%= form.label :direction %> <%= form.text_field :direction %> </div> <div class="field"> <%= form.label :strike %> <%= form.text_field :strike %> </div> <div class="field"> <%= form.label :profile_id %> <%= form.number_field :profile_id %> </div> <div class="actions"> <%= form.submit %> </div> <% end %>
Version data entries
7 entries across 7 versions & 1 rubygems