rubygems/rubygems.org

View on GitHub
app/views/ownership_calls/_form.html.erb

Summary

Maintainability
Test Coverage
<div class="t-body">
  <%= form_tag rubygem_ownership_calls_path, method: :post, class: "ownership_call_form", id: "new_ownership_call" do %>
    <div class="text_field">
      <%= label_tag :note, t("ownership_calls.note_for_applicants"),  class: "form__label" %>
      <%= t("ownership_calls.markup_supported_html") %>
      <%= text_area_tag :note, nil, placeholder: t("ownership_calls.share_requirements"), class: "form__input form__textarea", required: true %>
    </div>
    <div class="submit_field">
      <%= submit_tag t("ownership_calls.create_call"), data: { disable_with: t("form_disable_with") }, class: "form__submit" %>
    </div>
  <% end %>
</div>