fixes
This commit is contained in:
@@ -27,7 +27,7 @@ form.simple_form {
|
||||
span.hint {
|
||||
color: #666;
|
||||
font-style: italic;
|
||||
display: block;
|
||||
margin-left: 1em;
|
||||
}
|
||||
|
||||
fieldset {
|
||||
|
||||
@@ -15,7 +15,7 @@ class PostPresenter < Presenter
|
||||
html << %{<a href="#{path}/#{post.id}">}
|
||||
|
||||
if post.is_image?
|
||||
html << %{<img src="#{post.preview_file_url}">}
|
||||
html << %{<img src="#{post.preview_file_url}" alt="#{h(post.tag_string)}">}
|
||||
elsif post.is_flash?
|
||||
html << '<div class="text-post-preview">Flash</div>'
|
||||
else
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
<%= simple_form_for @user do |f| %>
|
||||
<fieldset>
|
||||
<%= f.input :email, :required => Danbooru.config.enable_email_verification?, :hint => "Your email address (used for messages and for password resets)" %>
|
||||
<%= f.input :email, :required => Danbooru.config.enable_email_verification?, :hint => "Your email address (used for messages and for password resets)", :as => :email %>
|
||||
<%= f.input :time_zone, :hint => "Your local time zone" %>
|
||||
<%= f.input :receive_email_notifications, :hint => "Enable to receive email notification when you receive a DMail" %>
|
||||
<%= f.input :comment_threshold, :hint => "Comments below this score will be hidden by default" %>
|
||||
|
||||
@@ -65,10 +65,10 @@
|
||||
|
||||
<div id="p3">
|
||||
<%= simple_form_for(@user) do |f| %>
|
||||
<%= f.input :name %>
|
||||
<%= f.input :name, :as => :string %>
|
||||
<%= f.input :password %>
|
||||
<%= f.input :password_confirmation %>
|
||||
<%= f.input :email, :required => false %>
|
||||
<%= f.input :email, :required => false, :as => :email %>
|
||||
<%= f.input :level, :collection => User.level_hash.to_a, :include_blank => false %>
|
||||
<%= f.button :submit %>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user