PostText/templates/moderator/create.html.ep

19 lines
570 B
Plaintext

% layout 'default';
% title 'Create Moderator';
<h2 class="page-title"><%= title %></h2>
<form method="post" class="form-body">
<div class="form-field">
<%= label_for name => 'Name' %>
<%= text_field name => (id => 'name') %>
</div>
<div class="form-field">
<%= label_for email => 'Email' %>
<%= email_field email => (id => 'email') %>
</div>
<div class="form-field">
<%= label_for password => 'Password' %>
<%= password_field password => (id => 'password') %>
</div>
<%= submit_button Create => (class => 'form-button') %>
</form>