Sha256: e0ad80f5a17929ec5210e33c8deb5a0a51f3e9e99c6fa7118c870241e46b4df7

Contents?: true

Size: 522 Bytes

Versions: 7

Compression:

Stored size: 522 Bytes

Contents

<%= render_form_for(@user, class: "w-full") do |form| %>
  <div class="grid grid-cols-3 items-baseline mb-4">
    <%= form.label :email, class: "text-right mr-4 text-lg" %>
    <%= form.text_field :email, class: "col-span-2" %>
  </div>
  <div class="grid grid-cols-3 items-baseline">
    <%= form.label :password, class: "text-right mr-4 text-lg" %>
    <%= form.password_field :password, class: "col-span-2 mb-8" %>
  </div>
  <div class="flex justify-center">
    <%= form.submit "Create Account" %>
  </div>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
shadcn-ui-0.0.15 app/views/examples/components/forms/code/_preview.erb
shadcn-ui-0.0.14 app/views/examples/components/forms/code/_preview.erb
shadcn-ui-0.0.13 app/views/examples/components/forms/code/_preview.erb
shadcn-ui-0.0.12 app/views/examples/components/forms/code/_preview.erb
shadcn-ui-0.0.10 app/views/examples/components/forms/code/_preview.erb
shadcn-ui-0.0.8 app/views/examples/components/forms/code/_preview.erb
shadcn-ui-0.0.5 app/views/examples/components/forms/code/_preview.erb