journalduhacker/app/views/hats/build_request.html.erb

30 lines
687 B
Plaintext
Raw Normal View History

<div class="box wide">
<div class="legend">
2017-05-19 13:32:21 +02:00
<%= t('.title') %>
</div>
2017-05-19 13:32:21 +02:00
<%= raw(t('.description')) %>
<%= form_for @hat_request, :url => create_hat_request_path do |f| %>
<p>
2017-05-19 13:32:21 +02:00
<%= f.label :hat, t('.hat') %>
<%= f.text_field :hat, :size => 20,
2017-05-19 13:32:21 +02:00
:placeholder => t('.hatplaceholder') %>
<br />
2017-05-19 13:32:21 +02:00
<%= f.label :link, t('.link') %>
<%= f.text_field :link, :size => 50,
2017-05-19 13:32:21 +02:00
:placeholder => t('.linkplaceholder') %>
<br />
2017-05-19 13:32:21 +02:00
<%= f.label :comment, t('.comment') %>
<%= f.text_area :comment, :rows => 4,
2017-05-19 13:32:21 +02:00
:placeholder => t('.commentplaceholder') %>
</p>
<p>
2017-05-19 13:32:21 +02:00
<%= submit_tag t('.requesthatbutton') %>
</p>
<% end %>
</div>