Skip to content

Commit

Permalink
Permalink inputs are readonly
Browse files Browse the repository at this point in the history
  • Loading branch information
cdchapman committed Apr 13, 2016
1 parent b249a1c commit 60b9dbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/article.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,13 @@ <h3 class="big">Permalinks</h3>
<div>
<label>
URL:
<input class="bookmark u-uid u-url" type="url" value="<%= url_for(@item) %>">
<input readonly="readonly" class="bookmark u-uid u-url" type="url" value="<%= url_for(@item) %>">
</label>
</div>
<div>
<label>
HTML:
<input type="text" value="<%= h('<cite class="h-cite"><a class="u-url p-name" href="'+url_for(@item)+'">'+@item[:title]+'</a> (<abbr class="p-author h-card" title="'+@item[:author_name]+'">'+author[:last_name]+'</abbr> <time class="dt-published">'+@item[:created_at].to_s+'</time>)</cite>') %>">
<input readonly="readonly" type="text" value="<%= h('<cite class="h-cite"><a class="u-url p-name" href="'+url_for(@item)+'">'+@item[:title]+'</a> (<abbr class="p-author h-card" title="'+@item[:author_name]+'">'+author[:last_name]+'</abbr> <time class="dt-published">'+@item[:created_at].to_s+'</time>)</cite>') %>">
</label>
</div>
</form>
Expand Down

0 comments on commit 60b9dbc

Please sign in to comment.