rafaels88/pinfluence

View on GitHub
apps/admin/templates/sessions/_form.html.erb

Summary

Maintainability
Test Coverage
<div class="ui segment">
  <h2 class="ui header">Authentication</h2>

  <%= render partial: 'shared/flashes' %>

  <%=
    form_for form, { class: 'ui form' } do
      div class: "field" do
        label "Email"
        text_field :email
      end

      div class: "field" do
        label "Password"
        password_field :password_plain
      end

      submit submit_label, { class: 'ui button' }
    end
  %>
</div>