style fixes
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<%= f.input :name %>
|
||||
<%= f.input :other_names, :hint => "Separate with commas", :as => :text %>
|
||||
<%= f.input :group_name %>
|
||||
<%= f.input :url_string, :label => "URLs", :as => :text, :size => "10x5" %>
|
||||
<%= f.input :url_string, :label => "URLs", :as => :text, :input_html => {:size => "50x5"} %>
|
||||
<%= f.input :is_active %>
|
||||
<%= f.input :is_banned %>
|
||||
<%= f.input :notes, :as => :text %>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<%= simple_form_for(dmail) do |f| %>
|
||||
<%= f.input :to_name, :label => "To" %>
|
||||
<%= f.input :title %>
|
||||
<%= f.input :body, :html_options => {:size => "50x25"} %>
|
||||
<%= f.input :body, :input_html => {:size => "50x25"} %>
|
||||
<%= f.button :submit, "Send" %>
|
||||
<%= submit_tag "Preview", :id => "preview-button" %>
|
||||
<% end %>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
<%= simple_form_for(@ip_ban) do |f| %>
|
||||
<%= f.input :ip_addr %>
|
||||
<%= f.input :reason %>
|
||||
<%= f.input :reason, :input_html => {:size => "50x5"} %>
|
||||
<%= f.button :submit, "Submit" %>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
@@ -2,18 +2,20 @@
|
||||
<div id="a-index">
|
||||
<h1>User Feedback</h1>
|
||||
|
||||
<table width="100%">
|
||||
<table class="striped" width="100%">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="10%">Category</th>
|
||||
<th width="15%">User</th>
|
||||
<th width="15%">Creator</th>
|
||||
<th width="15%">When</th>
|
||||
<th width="55%">Message</th>
|
||||
<th width="45%">Message</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<% @user_feedbacks.each do |feedback| %>
|
||||
<tr>
|
||||
<td><%= feedback.category %></td>
|
||||
<td><%= link_to feedback.user_name, user_feedback_path(feedback.user_id) %></td>
|
||||
<td><%= feedback.creator.name %></td>
|
||||
<td><%= time_ago_in_words(feedback.created_at) %> ago</td>
|
||||
|
||||
@@ -7,10 +7,10 @@
|
||||
|
||||
<%= simple_form_for(@user_feedback) do |f| %>
|
||||
<%= f.input :user_name %>
|
||||
<%= f.input :category, :collection => ["positive", "neutral", "negative"] %>
|
||||
<%= f.input :body %>
|
||||
<%= f.button :submit %>
|
||||
<%= f.button :submit, :value => "Preview" %>
|
||||
<%= f.input :category, :collection => ["positive", "neutral", "negative"], :include_blank => false %>
|
||||
<%= f.input :body, :input_html => {:size => "50x5"} %>
|
||||
<%= f.button :submit, "Submit" %>
|
||||
<%= f.button :submit, "Preview" %>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user