Sha256: 5c41ef4b569f6eefc4317bd107b839100e43c0f3b7640a0f4e69c4544e247103
Contents?: true
Size: 832 Bytes
Versions: 6
Compression:
Stored size: 832 Bytes
Contents
<%= form_with(model: task, local: true) do |form| %> <% if task.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(task.errors.count, "error") %> prohibited this task from being saved:</h2> <ul> <% task.errors.full_messages.each do |message| %> <li><%= message %></li> <% end %> </ul> </div> <% end %> <div class="field"> <%= form.label :reward %> <%= form.number_field :reward %> </div> <div class="field"> <%= form.label :title %> <%= form.text_field :title %> </div> <div class="field"> <%= form.label :briefing %> <%= form.text_area :briefing %> </div> <div class="field"> <%= form.label :cta_copy %> <%= form.text_field :cta_copy %> </div> <div class="actions"> <%= form.submit %> </div> <% end %>
Version data entries
6 entries across 6 versions & 4 rubygems