mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-29 05:51:22 +00:00
5cd2d098a0
- Bans - Articles - Forums - Users Further styling improvements to form elements
29 lines
840 B
Text
29 lines
840 B
Text
<div id="messages">
|
|
<h1>New Message</h1>
|
|
|
|
<%= form_for(@message, html: { class: 'square' }) do |f| %>
|
|
<%= f.error_messages %>
|
|
<%= f.hidden_field :recipient_id %>
|
|
<%= f.hidden_field :recipient_type %>
|
|
|
|
<div class="fields horizontal">
|
|
<%= f.label :sender %>
|
|
<%= f.select :sender_raw, cuser.to_s, {:include_blank => cuser.to_s} %>
|
|
</div>
|
|
<div class="fields horizontal">
|
|
<%= f.label :recipient %>
|
|
<%= text_field_tag :asdf, @message.recipient, :disabled => true %>
|
|
</div>
|
|
<div class="fields horizontal">
|
|
<%= f.label :title %>
|
|
<%= f.text_field :title %>
|
|
</div>
|
|
<div class="fields horizontal">
|
|
<%= f.label :text %>
|
|
<%= f.text_area :text, rows: 15 %>
|
|
</div>
|
|
<div class="controls">
|
|
<%= f.submit 'Send Message' %>
|
|
</div>
|
|
<% end %>
|
|
</div>
|