Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

updates for MORT-34, MORT-35, MORT-36: broken layout, 'unable to crea…

…te new' error and group name width in non-admin edit screen
  • Loading branch information...
commit 3054a745e361088580ce4cbef650f21c9bb8742c 1 parent b1ab126
@mikeyledoux mikeyledoux authored
View
2  app/controllers/entries_controller.rb
@@ -96,7 +96,7 @@ def find_entry
# Checking for write permissions requires
# instantiating the group. Used only with #new and #create.
def write_permissions_on_new
- #return if current_user.is_admin?
+ return if current_user.is_admin?
raise ActiveRecord::RecordNotFound if params[:entry].nil?
@group = Group.find(params[:entry][:group_id])
raise AccessDenied unless @group.allows_write_access_for?(current_user)
View
1  app/views/entries/_form.html.erb
@@ -39,7 +39,6 @@
<select id="entry" name="entry[group_id]" tabindex="7">
<%= options_for_select(@groups, @entry.group_id) %>
</select>
- </div>
<%end%>
</div>
</fieldset>
View
2  public/stylesheets/interior.css
@@ -249,7 +249,7 @@ fieldset.common {}
fieldset.common .field label span.fakeLabel {
position: absolute;
left: 180px;
- width: 100px;
+ width: 390px;
color: #999;
}
fieldset.common .field label em {

0 comments on commit 3054a74

Please sign in to comment.
Something went wrong with that request. Please try again.